Datasheet

Table Of Contents
Section 2 CPU
REJ09B0140-0900 Rev. 9.00 Page 29 of 846
Sep 16, 2010
H8S/2215 Group
providing a 32-bit branch address. The upper 8 bits of these 32 bits are a reserved area that is
regarded as H'00. Branch addresses can be stored in the area from H'00000000 to H'000000FF.
Note that the first part of this range is also the exception vector table.
Stack Structure
In advanced mode, when the program counter (PC) is pushed onto the stack in a subroutine
call, and the PC, condition-code register (CCR), and extended control register (EXR) are
pushed onto the stack in exception handling, they are stored as shown in figure 2.4. When
EXR is invalid, it is not pushed onto the stack. For details, see section 4, Exception Handling.
PC
(24 bits)
EXR
*
1
Reserved
*
1
*
3
CCR
PC
(24 bits)
SP
SP
(SP
*
2
)
Reserved
(a) Subroutine Branch (b) Exception Handling
Notes: 1.
2.
3.
When EXR is not used, it is not stored on the stack.
SP when EXR is not used.
Ignored when returning.
Figure 2.4 Stack Structure in Advanced Mode