Mova Instruction; Table 2.15 Effective Address Calculation For Branch Instructions - Renesas H8SX/1520 Series Hardware Manual

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1520 Series:
Table of Contents

Advertisement

Table 2.15 Effective Address Calculation for Branch Instructions

No.
Addressing Mode and Instruction Format
Register indirect
1
op
Program-counter relative with 8-bit displacement
2
op
Program-counter relative with 16-bit displacement
disp
Program-counter relative with index register
3
op
24-bit absolute address
4
op
32-bit absolute address
op
Memory indirect
5
op
6
Extended memory indirect
op
2.8.13

MOVA Instruction

The MOVA instruction stores the effective address in a general register.
1. Firstly, data is obtained by the addressing mode shown in item 2of table 2.14.
2. Next, the effective address is calculated using the obtained data as the index by the addressing
mode shown in item 5 of table 2.14. The obtained data is used instead of the general register.
The result is stored in a general register. For details, see H8SX Family Software Manual.
Downloaded from
Elcodis.com
electronic components distributor
r
disp
op
r
aa
aa
aa
vec
Effective Address Calculation
31
General register contents
31
PC contents
31
7
Sign extension
disp
31
PC contents
31
15
Sign extension
disp
31
Zero extension
Contents of general register (RL, R, or ER)
31
PC contents
Zero
31
23
extension
aa
31
aa
31
7
Zero extension
aa
31
Memory contents
31
7
Zero extension
1
vec
31
31
Memory contents
Effective Address (EA)
0
31
0
31
+
0
0
31
+
0
0
×
2
31
+
0
0
31
0
31
0
31
0
0
×
2 or 4
0
0
31
Rev. 3.00 Mar. 14, 2006 Page 63 of 804
REJ09B0104-0300
Section 2 CPU
0
0
0
0
0
0
0
0

Advertisement

Table of Contents
loading

Table of Contents