English
Language : 

SH7020 Datasheet, PDF (45/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
PC relative
addressing
with dis-
placement
@(disp:8,
PC)
The effective address is the PC value plus an 8-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. For a long word operation, the lowest two
bits of the PC are masked.
PC
Word: PC +
disp × 2
Long word:
PC &
H'FFFFFFFC
+ disp × 4
&*
H'FFFFFFFC
+
disp
(zero-extended)
×
PC + disp × 2
or
PC & H'FFFFFFFC
+ disp × 4
PC relative disp:8
addressing
2/4
*: For long word
The effective address is the PC value sign-extended
with an 8-bit displacement (disp), doubled, and
added to the PC.
PC + disp × 2
PC
disp
+
(zero-extended)
×
PC + disp × 2
disp:12
2
The effective address is the PC value sign-extended PC + disp × 2
with a 12-bit displacement (disp), doubled, and
added to the PC.
PC
disp
+
(zero-extended)
×
PC + disp × 2
2
24 RENESAS