English
Language : 

SH7708 Datasheet, PDF (42/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
PC-relative
with
displacement
@(disp:8,
PC)
Effective address is register PC contents with
8-bit displacement disp added. After disp is
zero-extended, it is multiplied by 2 (word), or
4 (longword), according to the operand size.
With a longword operand, the lower 2 bits of
PC are masked.
Word: PC + disp × 2
Longword:
PC & H'FFFF FFFC +
disp × 4
PC
(for longword)
&
H'FFFFFFFC
+
disp
(zero-extended)
x
PC + disp × 2
or
PC&H'FFFFFFFC
+ disp × 4
PC-relative disp:8
2/4
Effective address is register PC contents with PC + disp × 2
8-bit displacement disp added after being
sign-extended and multiplied by 2.
PC
disp
+
(sign-extended)
×
PC + disp × 2
disp:12
2
Effective address is register PC contents with PC + disp × 2
12-bit displacement disp added after being
sign-extended and multiplied by 2.
PC
disp
+
(sign-extended)
×
PC + disp × 2
2
24