Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

Introduction to Assembly Language

Notes:

Introduction to Assembly Language:

Assembly Language: (2nd Generation Language) (Ex. MASM,TASM)
Is a set of instructions / commands containing symbolic codes (mnemonics).
contains set of English like commands
For Ex: assembly code for a hypothetical machine.
LOAD A 2
LOAD B 2
ADD A B
PRINT A

Pros of assembly language:
1. English like commands, easy to remember, easy to code.
2. Easy to understand and less error prone.

Cons of assembly language:
1. Slightly slower because translation is needed (Assembler)
2. A statement possible to write in single line in a HLPL may spread over many more lines in ALPL
3. Difficult to modify, change in one place might affect entire code
4. Tedious and time consuming
5. It is not possible to create real world entities (i.e. data structures).
6. Programs written in assembly language are platform dependent.

To overcome some limitations of assembler, interpreters and compilers are designed.