Figure 2.4 Stack Structure In Advanced Mode - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

• 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.
SP
Notes: 1. When EXR is not used it is not stored on the stack.
2. SP when EXR is not used.
3. Ignored when returning.
Reserved
PC
(24 bits)
(a) Subroutine Branch

Figure 2.4 Stack Structure in Advanced Mode

EXR *
SP
Reserved *
*
2
(SP
)
CCR
PC
(24 bits)
(b) Exception Handling
Rev. 6.00 Mar 15, 2006 page 19 of 570
Section 2 CPU
1
*
1
3
REJ09B0211-0600

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2600 seriesH8s/2612 seriesH8s/2612 f-ztat

Table of Contents