3- CH 3 Addressing Modes - ١٢٢٠٣٧
3- CH 3 Addressing Modes - ١٢٢٠٣٧
Faculty of Engineering
Department of Electrical and Computer Engineering
ECE484– Microprocessors II
3. Direct Addressing
5. Based Addressing
Group II : Addressing modes for
6. Indexed Addressing memory data
7. Based Index Addressing
8. String Addressing
8. String Addressing
1. Register Addressing
In immediate addressing mode, an 8-bit or 16-bit
2. Immediate Addressing data is specified as part of the instruction
3. Direct Addressing
Example:
4. Register Indirect Addressing
MOV DL, 08H
5. Based Addressing
The 8-bit data (08H) given in the instruction is
6. Indexed Addressing moved to DL
Adder
Supported combinations:
BX SI
+ disp
BP DI
7. Based Index Addressing The square brackets around the 1354H denotes
the contents of the memory location.
8. String Addressing
Operations:
9. Direct I/O port Addressing
EA = 1354H
10. Indirect I/O port Addressing BA = (DS) x 1610
MA = BA + EA
11. Relative Addressing
(BX) (MA) or,
12. Implied Addressing (BL) (MA)
(BH) (MA +1)
1. Register Addressing
2. Immediate Addressing
1. Register Addressing
2. Immediate Addressing
3. Direct Addressing
5. Based Addressing
6. Indexed Addressing
Instructions using this mode have no operands.
The instruction itself will specify the data to be
7. Based Index Addressing
operated by the instruction.
8. String Addressing
Example: CLC
9. Direct I/O port Addressing
This clears the carry flag to zero.
10. Indirect I/O port Addressing
1000 0101