Figure 2.2 Exception Vector Table (Normal Mode); Figure 2.3 Stack Structure (Normal Mode) - Renesas H8SX/1500 Series Hardware Manual

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

Advertisement

Section 2 CPU
• Exception Vector Table and Memory Indirect Branch Addresses
In normal mode, the top area starting at H'0000 is allocated to the exception vector table. One
branch address is stored per 16 bits. The structure of the exception vector table is shown in
figure 2.2.
The memory indirect (@@aa:8) and extended memory indirect (@@vec:7) addressing modes
are used in the JMP and JSR instructions. An 8-bit absolute address included in the instruction
code specifies a memory location. Execution branches to the contents of the memory location.
• Stack Structure
The stack structure of PC at a subroutine branch and that of PC and CCR at an exception
handling are shown in figure 2.3. The PC contents are saved or restored in 16-bit units.
SP
Notes: 1.
Rev. 3.00 Mar. 14, 2006 Page 22 of 804
REJ09B0104-0300
H'0000
Reset exception vector
H'0001
H'0002
Reset exception vector
H'0003

Figure 2.2 Exception Vector Table (Normal Mode)

PC
(16 bits)
(a) Subroutine Branch
When EXR is not used it is not stored on the stack.
2.
SP when EXR is not used.
3.
Ignored on return.

Figure 2.3 Stack Structure (Normal Mode)

Exception
vector table
SP
EXR*
Reserved*
2
*
(SP
)
CCR
CCR*
PC
(16 bits)
(b) Exception Handling
1
1
3
,*
3

Advertisement

Table of Contents
loading

Table of Contents