PDA

View Full Version : What is Indirect Addressing?


Emkay
11-06-2009, 10:39 PM
I have to do a presentation on this. But apart from the basic definition I don't know much about what it is or how it's used and implemented. I know it can be useful for variables and arrays, but how exactly? Can someone explain in simple terms what this addressing mode actually includes?

Also, I have already tried google for this (before you go off to lmgtfy.com or something and post a smart link :p)

Thanks very much in advance. :D

bazz
11-06-2009, 10:43 PM
when you goggled you may have seen this page and section 7, in the greyed box to the left, may have what you need. I am not knowledgable enough to give a tute.

http://en.wikipedia.org/wiki/Addressing_mode

bazz

Emkay
11-06-2009, 11:09 PM
when you goggled you may have seen this page and section 7, in the greyed box to the left, may have what you need. I am not knowledgable enough to give a tute.

http://en.wikipedia.org/wiki/Addressing_mode

bazz

Thanks for that but I've already checked the first few pages of links that google provides but there doesn't seem to be much digestible information, apart from the generic definition and complicated instruction examples.

drhowarddrfine
11-14-2009, 01:21 PM
Indirect addressing just means the address of the memory location you are trying to access is located at another address or processor register. In C, you can think of *p as a pointer to a memory location but **p is a pointer to a pointer to a memory location. That would be indirect addressing.