Hitachi SH7750 Hardware Manual page 227

Sh7750 series superh risc engine
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

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. 6.0, 07/02, page 177 of 986
Calculation
Formula
Word: PC + 4
+ disp × 2 →
EA
Longword:
PC &
H'FFFFFFFC
+ 4 + disp × 4
→ EA
PC + 4 + disp
× 2 → Branch-
Target

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7750rSh7750s

Table of Contents