The C LanguageĬ is a high-level machine-independent programming language. However, the programmer needs to have much more hardware knowledge than a developer of a high-level language.Īssembly language is typically used to write efficient system programs like device drivers, virus/anti-virus programs, embedded system software, and TSR (terminated and stay resident programs).Īn assembler must assemble an assembly language program into a machine language program executable on the machine. Likewise, CMP compares two expressions, and JMP jumps the execution control to some specific label or location marker.Īssembly language is very close to machine (hardware) thus, instructions written in assembly language are very fast. Similarly, MOV is used to perform data movements.
The mnemonics are English-like instructions or operation codes.įor example, the mnemonic ADD is used to add two numbers. However, it is much more readable than machine language because it uses mnemonics. Generally, a statement written in assembly language is translated into a single machine-level instruction. The Assembly LanguageĪssembly is a low-level interpreted language.
Later, we will see the conversion of the C program to Assembly code and the de-assembling of an Assembly code. We will briefly discuss the fundamentals of Assembly and C languages.