English
Language : 

HD6417706 Datasheet, PDF (71/709 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series
Addressing Instruction
Mode
Format Effective Address Calculation Method
Calculation Formula
PC-relative @(disp:8,
with
PC)
displacement
Effective address is register PC contents with Word: PC + disp × 2
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
Longword:
PC & H'FFFF FFFC +
disp × 4
PC are masked.
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
Rev. 4.00, 03/04, page 25 of 660