Bus-Released State; Reset State; Figure 2.14 Stack Structure After Exception Handling - Hitachi H8/3062 Hardware Manual

Single-chip microcomputer h8/3062 series; h8/3062b series; h8/3062f-ztat series; h8/3064f-ztat series
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

Figure 2.14 shows the stack after the exception-handling sequence.
SP–4
SP–3
SP–2
SP–1
SP (ER7)
Before exception
handling starts
Legend:
CCR:
Condition code register
SP:
Stack pointer
Notes: 1.
PC is the address of the first instruction executed after the return from the
exception-handling routine.
2.
Registers must be saved and restored by word access or longword access,
starting at an even address.

Figure 2.14 Stack Structure after Exception Handling

2.8.5

Bus-Released State

In this state the bus is released to a bus master other than the CPU, in response to a bus request.
The bus masters other than the CPU is an external bus master. While the bus is released, the CPU
halts except for internal operations. Interrupt requests are not accepted. For details see section 6.6,
Bus Arbiter.
2.8.6

Reset State

When the RES input goes low all current processing stops and the CPU enters the reset state. The I
bit in the condition code register is set to 1 by a reset. All interrupts are masked in the reset state.
Reset exception handling starts when the RES signal changes from low to high.
The reset state can also be entered by a watchdog timer overflow. For details see section 11,
Watchdog Timer.
62
Stack area
Pushed on stack
SP (ER7)
SP+1
SP+2
SP+3
SP+4
After exception
handling ends
CCR
PC
Even
address

Advertisement

Table of Contents
loading

Table of Contents