|
SH7713 Datasheet, PDF (86/904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series | |||
|
◁ |
Section 2 CPU
Addressing
Mode
Instruction
Format Effective Address Calculation Method
Register
@âRn
indirect with
pre-decrement
Effective address is register Rn
contents, decremented by a constant
beforehand: 1 for a byte operand, 2 for a
word operand, 4 for a longword
operand.
Rn
Rn - 1/2/4
-
Rn - 1/2/4
Register
indirect with
displacement
@(disp:4,
Rn)
1/2/4
Effective address is register Rn contents
with 4-bit displacement disp added. After
disp is zero-extended, it is multiplied by
1 (byte), 2 (word), or 4 (longword),
according to the operand size.
Rn
disp
(zero-extended)
+
Ã
Rn
+ disp à 1/2/4
Calculation Formula
Byte: Rn â 1 â Rn
Word: Rn â 2 â Rn
Longword: Rn â 4 â Rn
(Instruction executed with
Rn after calculation)
Byte: Rn + disp
Word: Rn + disp à 2
Longword: Rn + disp à 4
1/2/4
Indexed
@(R0, Rn) Effective address is sum of register Rn
register indirect
and R0 contents.
Rn
+
Rn + R0
R0
GBR indirect
with
displacement
@(disp:8,
GBR)
Effective address is register GBR
contents with 8-bit displacement disp
added. After disp is zero-extended, it is
multiplied by 1 (byte), 2 (word), or 4
(longword), according to the operand
size.
GBR
disp
+
(Zero-extended)
Ã
GBR
+ disp à 1/2/4
1/2/4
Rn + R0
Byte: GBR + disp
Word: GBR + disp à 2
Longword: GBR + disp Ã
4
Rev.1.50 Aug. 30, 2006 Page 46 of 860
REJ09B0288-0150
|
▷ |