By: Masud-ul-Hasan
3
8051 Addressing Modes
•
Addressing modes are an integral part of each computers
instruction set. They allow different ways of specifying
source/destination operand addresses depending on the
programming situation. There are
8 modes of addressing
:
1.
Immediate
2.
Register
3.
Direct
4.
Indirect
5.
Relative
6.
Absolute
7.
Long
8.
Indexed
General Format of Instruction:
Label:
OpCode
Destination, source
; Comments