Computer Architecture and the Fetch-Execute Cycle. Memory Addressing Techniques. Learning Objectives. Explain the concepts of direct, indirect, indexed, relative addressing and immediate addressing of memory when referring to low-level languages. Memory Addressing Techniques.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Memory Addressing Techniques
Index Register (IR)
A special register used to adjust the address part of an instruction in the CIR.
The original address part of the instruction in the CIR is now changed by adding the contents of the index register (IR) to it, to give a new effective address of the data.
00000011 = 3
00000011 = 3
To allow a number of fields in contiguous records or contiguous elements in an array to be accessed by incrementing the Index Register (IR) between each successive access instruction.
e.g. to add 5 memory locations
Segment Index Table
Can also be used to access data in addresses relative to the current instruction.
The only difference is that the new “effective” address would be loaded into the MAR instead of the CIR.
+ value in instruction