Basic Differences

The basic differences between the C Programing langugae and Assembly code is given here:

  1. Memory is a collection of bytes rather than a collection of variables.
  2. ISA is well defined with a set of Instructions for the assembly code rather than a set of function calls.
  3. Abstraction is not evident unlike in C progam as here we can see the values of registers and stack.
  4. Distinction between users and library.

Data Types in Assembly Program: Unlike in C program here we donot consider the case of int or double but like as below.

  1. Byte : 8 bits
  2. Word : 16 bits
  3. DoubleWord : 32 bits
  4. QWord : 64 bits