Datasheet

Section 2 CPU
Page 26 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
Stack structure
In advanced mode, the program counter (PC) is pushed onto the stack in a subroutine call, and
the PC and condition-code register (CCR) are pushed onto the stack in exception handling.
They are stored as shown in figure 2.2. EXR is not pushed onto the stack in interrupt control
mode 0. For details, see section 3, Exception Handling.
PC
(16 bits)
EXR
*
1
Reserved
*
1
*
3
CCR
CCR
*
3
PC
(16 bits)
SP SP
(SP
*
2
1. When EXR is not used, it is not stored on the stack.
2. SP when EXR is not used.
3. lgnored when returning.
Notes:
(b) Exception Handling(a) Subroutine Branch
)
Figure 2.2 Stack Structure in Advanced Mode
2.3 Address Space
Figure 2.3 shows a memory map of the H8S/2000 CPU. The H8S/2000 CPU provides linear
access to a maximum 16-Mbyte (architecturally 4-Gbyte) address space in advanced mode. The
usable modes and address spaces differ depending on the product.