English
Language : 

SH7708 Datasheet, PDF (41/633 Pages) Renesas Technology Corp – SuperH™ RISC engine
Table 2.2 Addressing Modes and Effective Addresses (cont)
Addressing Instruction
Mode
Format Effective Address Calculation Method
Calculation Formula
Register
indirect with
displacement
@(disp:4,
Rn)
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.
Byte: Rn + disp
Word: Rn + disp × 2
Longword:
Rn + disp × 4
Rn
disp
+
(zero-extended)
×
Rn
+ disp × 1/2/4
1/2/4
Indexed
@(R0, Rn) Effective address is sum of register Rn and
register indirect
R0 contents.
Rn
Rn + R0
+
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.
Byte: GBR + disp
Word: GBR + disp × 2
Longword:
GBR + disp × 4
GBR
disp
+
(zero-extended)
×
GBR
+ disp × 1/2/4
Indexed GBR @(R0,
indirect
GBR)
1/2/4
Effective address is sum of register GBR and GBR + R0
R0 contents.
GBR
+
GBR + R0
R0
23