English
Language : 

SH7604 Datasheet, PDF (40/633 Pages) Hitachi Semiconductor – Hardware Manual
Table 2.8 Addressing Modes and Effective Addresses (cont)
Addressing
Mode
PC relative
with
displacement
Instruction
Format
Effective Addresses Calculation
Equation
@(disp:8,
PC)
The effective address is the PC 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 longword operation. For a
longword operation, the lowest two bits of the PC
value are masked.
Word: PC +
disp × 2
Longword:
PC &
H'FFFFFFFC
+ disp × 4
PC
H'FFFFFFFC
disp
(zero-extended)
(for longword operation)
&
PC + disp × 2
+
or
PC & H'FFFFFFFC
+ disp × 4
×
PC relative
disp:8
2/4
The effective address is the PC value sign-
extended with an 8-bit displacement (disp),
doubled, and added to the PC value.
PC
disp
+
(zero-extended)
×
PC + disp × 2
PC + disp × 2
disp:12
2
The effective address is the PC value sign-
extended with a 12-bit displacement (disp),
doubled, and added to the PC value.
PC
disp
+
(zero-extended)
×
PC + disp × 2
PC + disp × 2
2
24