CS Electrical And Electronics
@cselectricalandelectronics

What is Indexed addressing mode in 8051 microcontroller?

All QuestionsCategory: Embedded SystemWhat is Indexed addressing mode in 8051 microcontroller?
CS Electrical And Electronics Staff asked 4 years ago

I need short information.

1 Answers
CS Electrical And Electronics Staff answered 4 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.