Table 7.1
Addressing Modes and Effective Addresses (cont)
Addressing
Instruction
Mode
Format
PC-relative
@(disp:8, PC) Effective address is PC+4 with 8-bit displacement
with
displacement
PC-relative
disp:8
Effective Address Calculation Method
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
4
disp
(zero-extended)
2/4
Effective address is PC+4 with 8-bit displacement
disp added after being sign-extended and
multiplied by 2.
PC
+
4
disp
(sign-extended)
×
2
+
PC + 4 + disp
× 2
+
or PC &
H'FFFFFFFC
+ 4 + disp × 4
×
* With longword operand
PC + 4 + disp × 2
+
Rev. 3.0, 04/02, page 171 of 1064
Calculation
Formula
Word: PC + 4
+ disp
2
EA
Longword:
PC &
H'FFFFFFFC
+ 4 + disp
4
EA
PC + 4 + disp
2
Branch-
Target