Você está na página 1de 1

SMJC 1043 (Section 2) - Programming For Engineers (SEM I- 2016/2017)

Assignment 1
Seek the information about the differences between assembly language and
C programming language

The most basic programming language for processor is assembly language and it is also a low-level
programming language used to interface with computer hardware. A programmer works with operations that
are implemented directly on the physical CPU with assembly language. A program that write in assembly
language consists of processor instructions and meta-statements, data and comments. Assembly language
instructions consist of a list of data, arguments or parameters. These can turn into machine language
instructions which can be convert into memory and executed by an assembler.

Next, the C programming language is a structured oriented language and it is a high-level


programming language that developed by Dennis Ritchie in 1972. C was used in operating systems,
applications and academic community. Besides that, C is a portable language but cannot portable easily. The
programming language were developed to do system programming for the operating system UNIX. C++ is a
programming language which is the extension of the C language.

Assembly language programs is specialised in machine. It is machine dependant language. This


because it cannot run on other computer instead of in which it is compiled and it use mnemonics and code
specifically designed for a some microprocessor or central processing unit. Without a compiler, it can convert
to machine code. C programming language is independent of machine. This is because it allowed us to write
and run a program on any operating system and various different processers.

Low-level language are not same as the human languages. Assembly language is the language that the
processor can understand directly. Assembly language is not easy compare to the high level language like C
programming language. Assembly language is difficult because some of the numerous technical details that
the programmer must remember. There are some binary code which represents the instructions are allow us
to understand them. Although the assembly language is not easy to understand but they are much easier
when compare to machine level language. C programming language is simple and easy to write, learn, use and
convenient to do the complex tasks. C programming language is a language like English statement and
program. If we write in c language, we need to convert or interpreted it into machine language before
compiling it.

Assembly language is a technical language and it is difficult to modify. It is usually faster or equal to
the speed of C programming language when run the programs and it has good performance. C programming
language is an abstract language and it is easy to modify. It develop slower than work in assembly language
and it has poor performance when compare to assembly language. Languages different in the level of
abstraction and C programming language is relatively low level compared to other languages.

In conclusion, assembly language and C programming language have different features. All of these
languages have their uses, it just depend on how to use it. So we should know which programming language is
suitable for us to use.

Você também pode gostar