Assembly Language - LAB-01 Lecture Notes
Assembly Language - LAB-01 Lecture Notes
• Special Purpose [Instruction Pointer Stack Pointer Flag and Base pointer]
Advantages and Disadvantages of
using AL
• Programs written in machine language are • No SDKs (System Development Kit).
replaceable by mnemonics which are
easier to remember • more complex in nature.
• It allows complex jobs to run in a simpler • Difficult to remember the syntax.
way.
• It is difficult to debug the program.
• It is memory efficient, as it requires less
memory. • It has a lack of portability of
• It is faster in speed, as its execution time is program between different
less. computer architectures.
• It is mainly hardware oriented. • It needs more size or memory of the
• It is used for critical jobs. computer to run the long programs
• It is not required to keep track of memory written in Assembly Language
locations.
Key Terms
1. Compiler
2. Interpreter
Linking and Loading are the utility programs execution of a program. Linking intakes the object codes
3. Translator generated by the assembler and combines them to generate the executable module. the loading loads
6. opcode is the portion of a machine language instruction that specifies the operation to be performed
Interrupts
1. .Memory
2. .Code
3. .Stack
4. .data
Basic Syntax of Assembly Language
.model small
.stack 100h
.data
.code
Main Proc