{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


Value is ea value is ea indexed add index reg to base

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: e-addressable memory Some material is adapted from D. Culler & D. Patterson (UCB) S. Ziavras Addressing Modes Specify how address of data object is to be derived Addressing modes affect • Instruction counts • Computer complexity complexity • Average CPI (clock cycles per instr.) Effective address (EA): address actually used to access data access data Some material is adapted from D. Culler & D. Patterson (UCB) S. Ziavras Most Common Addressing Modes Register Value in register Immediate Constant (part of instr.) (part of instr.) Displacement Add displacement value to base address for EA Register indirect indirect Reg. value is EA value is EA Indexed Add index reg. to base reg. for EA Direct or absolute or absolute Exact memory address in instr. is EA memory address in instr is EA Memory indirect Memory location contains EA Autoincrement For stepping through arrays within a loop stepping through arrays within loop Autodecrement Scaled >> & R (R) - (decrement) Used to index arrays to index arrays Some material is adap...
View Full Document

{[ snackBarMessage ]}