English
Language : 

SH7020 Datasheet, PDF (44/509 Pages) Renesas Technology Corp – SuperH™ RISC engine
Table 2.8 Addressing Modes and Effective Addresses (cont)
Addressing Mnemonic
Mode
Expression Effective Addresses Calculation
Equation
Indirect
register
addressing
with
displace-
ment
@(disp:4,
Rn)
The effective address is Rn plus a 4-bit displacement
(disp). disp is zero-extended, and remains the same
for a byte operation, is doubled for a word operation,
and is quadrupled for a long word operation.
Byte: Rn +
disp
Word: Rn +
disp × 2
Rn
disp
(zero-extended)
+
Rn + disp × 1/2/4
Long word:
Rn + disp × 4
×
Indirect
indexed
register
addressing
@(R0, Rn)
1/2/4
The effective address is the Rn value plus R0.
Rn
+
Rn + R0
Rn + R0
Indirect
GBR
addressing
with
displace-
ment
@(disp:8,
GBR)
R0
The effective address is the GBR value plus an 8-bit
displacement (disp). The value of disp is zero-
extended, and remains the same for a byte
operation, is doubled for a word operation, and is
quadrupled for a long word operation.
GBR
disp
+
(zero-extended)
×
GBR
+ disp × 1/2/4
Byte: GBR +
disp
Word: GBR +
disp × 2
Long word:
GBR + disp ×
4
Indirect
indexed
GBR
addressing
@(R0,
GBR)
1/2/4
The effective address is the GBR value plus the R0. GBR + R0
GBR
+
GBR + R0
R0
RENESAS23