Modes of Addressing Memory Flashcards
1
Q
How does immediate addressing work?
A
The value in the address part of the instruction is the value used
2
Q
How does direct addressing work?
A
The value in the address part of the instruction is a reference to the address of the data
3
Q
How does indirect addressing work?
A
The address part of the instruction is a reference to the address where the address of the data can be found
4
Q
How does indexed addressing work?
A
The index register is used to keep track of how much to add to the address you are examining, useful for arrays as you can assign the address to the start point of the array, then it can be looped through by adding the contents of the constantly increasing index register