Addressing modes: base/offset | |||||||||||||
|
|||||||||||||
Addr <-- R[s] + (IR15)16::IR15-0 | |||||||||||||
16-bit offset (immed) value in instruction is added to address value in register | |||||||||||||
sign-extend offset | |||||||||||||
result is address in memory which contains data | |||||||||||||
data may be byte, halfword, word depending on instruction | |||||||||||||
used in load and store instructions (I-type) | |||||||||||||