What is Indexed addressing mode in 8051 microcontroller?

All QuestionsCategory: Embedded SystemWhat is Indexed addressing mode in 8051 microcontroller?
Chetan Shidling Staff asked 5 years ago

I need short information.

1 Answers
Chetan Shidling Staff answered 5 years ago

This addressing mode is basically used for accessing data from a lookup table. Here the address of memory is indexed i.e., added to form the actual address of memory.

Example:
MOVC A, @A+DPTR

Here C means Code. Here the content of A register is added with the content of DPTR and the resultant is the address of memory location from where the data is copied to “A” register.