30
Table 2.2
Addressing Modes and Effective Addresses (cont)
Addressing
Mode
Instruction
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.
PC
H'FFFFFFFC
+
2/4
x
&
(for longword)
disp
(zero-extended)
PC + disp
×
2
or
PC&H'FFFFFFFC
+ disp
×
4
Word: PC + disp
×
2
Longword:
PC & H'FFFF FFFC +
disp
×
4
PC-relative
disp:8
Effective address is register PC contents with
8-bit displacement disp added after being
sign-extended and multiplied by 2.
PC
2
+
×
disp
(sign-extended)
PC + disp
×
2
PC + disp
×
2
disp:12
Effective address is register PC contents with
12-bit displacement disp added after being
sign-extended and multiplied by 2.
PC
2
+
×
disp
(sign-extended)
PC + disp
×
2
PC + disp
×
2
Summary of Contents for SH7709S
Page 2: ...Hitachi SuperH RISC engine SH7709S Hardware Manual ADE 602 250 Rev 1 0 09 21 01 Hitachi Ltd ...
Page 75: ...56 ...
Page 107: ...88 ...
Page 125: ...106 ...
Page 139: ...120 ...
Page 203: ...184 ...
Page 245: ...226 ...
Page 411: ...392 ...
Page 609: ...590 ...
Page 635: ...616 ...
Page 663: ...644 ...
Page 679: ...660 ...