The basic differences between the C Programing langugae and Assembly code is given here:
- Memory is a collection of bytes rather than a collection of variables.
- ISA is well defined with a set of Instructions for the assembly code rather than a set of function calls.
- Abstraction is not evident unlike in C progam as here we can see the values of registers and stack.
- 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.
- Byte : 8 bits
- Word : 16 bits
- DoubleWord : 32 bits
- QWord : 64 bits