English
Language : 

SH7032 Datasheet, PDF (52/687 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 2 CPU
Addressing
Mode
PC relative
addressing
with dis-
placement
Mnemonic
Expression
@(disp:8, PC)
Effective Addresses Calculation
The effective address is the PC value plus an 8-bit
displacement (disp). disp is zero-extended, is
doubled for a word operation, and is quadrupled for
a longword operation. For a longword operation,
the lowest two bits of the PC are masked.
PC
Equation
Word: PC +
disp × 2
Longword:
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 longword
The effective address is the PC value sign-
extended with an 8-bit displacement (disp),
doubled, and added to the PC.
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.
PC
disp
+
(zero-extended)
×
PC + disp × 2
PC + disp ×
2
2
Rev. 7.00 Jan 31, 2006 page 26 of 658
REJ09B0272-0700