You are on page 1of 33

DEPARTMENT OF ELECTRONICS &

COMMUNICATION ENGINEERING

Embedded System and IOT


Unit I- 8-BIT EMBEDDED PROCESSOR

www.kgkite.ac.in
Addressing Mode
Method of pointing the data for the instruction.

1.Immediate Addressing mode


2. Direct addressing mode
3. Register Addressing mode
4.Indirect Addressing mode
5.Code addressing or Indexed Addressing mode
• Immediate Addressing - Date is given in the instruction.
Mov A, #32
Mov R0, #7E
• Direct Addressing – Address of the data is given in the instruction
Mov A, 20H-Copy the Data from the from the address 20 H to accumulator.
• Register Addressing – Data for the instruction are given in the register.
Mov A, B
Mov A, Ro
• Indirect Addressing – Data memory address are indicated using register.
Mov A, @R0
Mov @R0, A
Mov A, @DPTR
Mov @DPTR, R0
Data transfer in external memory is done only through accumulator.
• Code Addressing – Data for the instruction is indicated in code memory.
–MOVC A, @A+DPTR
Thank You!

www.kgkite.ac.in

You might also like