Module 5 Assembly Level Language
Module 5 Assembly Level Language
Module 5 Assembly Level Language
Assembly-level
machine
organization
1
ASSEMBLY LANGUAGE:
3
INSTRUCTION & OPCODES:
• An instruction code is a group of bits that
instruct the computer to perform a specific
operation.
5
PROCESSOR REGISTERS:
• There are ten 32-bit and six 16-bit processor
registers in IA-32 architecture. The registers
are grouped into three categories.
6
DATA REGISTERS:
• Four 32-bit data registers are used for
arithmetic, logical, and other operations.
These 32-bit registers can be used in three
ways:
1
0
CONTROL REGISTERS:
The 32-bit instruction pointer register and the 32-bit flags
register combined are considered as the control registers.
1
1
CONTROL REGISTERS:
The common flag bits are:
1
2
CONTROL REGISTERS:
The common flag bits are:
Auxiliary Carry Flag (AF) − It contains the carry from bit 3 to bit
4 following an arithmetic operation; used for specialized
arithmetic. The AF is set when a 1-byte arithmetic operation
causes a carry from bit 3 into bit 4.
1
6
ADDRESSING MODES:
Immediate Addressing
1
7
ADDRESSING MODES:
Direct Memory Addressing
1
8
ADDRESSING MODES:
Indirect Memory Addressing
1
9
END OF MODULE
20