8051 Microcontroller Addressing Modes
Author :
Craig
Steiner
Source :
8052.com
Book :
The
8051/8052
Microcontroller:
Architecture,
Assembly
Language,
And
Hardware
Interfacing
(Paperback)
An "addressing mode" refers to how you are addressing a given memory location. In summary, the addressing modes are as follows, with an example of each:
Immediate Addressing | MOV A,#20h |
Direct Addressing | MOV A,30h |
Indirect Addressing | MOV A,@R0 |
External Direct | MOVX A,@DPTR |
Code Indirect | MOVC A,@A+DPTR |
Each of these addressing modes provides important flexibility.