Datasheet
Section 2 CPU
Rev. 4.00 Jun 06, 2006 page 32 of 1004
REJ09B0301-0400
Stack Structure: In advanced mode, when 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.5. The extended control register (EXR) is
not pushed onto the stack. For details, see section 4, Exception Handling.
(a) Subroutine Branch (b) Exception Handling
PC
(24 bits)
CCR
PC
(24 bits)
SP
SP
Reserved
Figure 2.5 Stack Structure in Advanced Mode