Processing States; Figure 2.7 Data Formats In Memory; Figure 2.8 Processing State Transitions - Renesas SuperH SH-4A Software Manual

32-bit risc microcomputer
Hide thumbs Also See for SuperH SH-4A:
Table of Contents

Advertisement

Address A
Address A + 4
Address A + 8
For the 64-bit data format, see figure 2.5.
2.6

Processing States

This LSI has major three processing states: the reset state, instruction execution state, and power-
down state.
Reset State: In this state the CPU is reset. The reset state is divided into the power-on reset state
and the manual reset.
In the power-on reset state, the internal state of the CPU and the on-chip peripheral module
registers are initialized. In the manual reset state, the internal state of the CPU and some registers
of on-chip peripheral modules are initialized. For details, see register descriptions for each section.
Instruction Execution State: In this state, the CPU executes program instructions in sequence.
The Instruction execution state has the normal program execution state and the exception handling
state.
Power-Down State: In a power-down state, CPU halts operation and power consumption is
reduced. The power-down state is entered by executing a SLEEP instruction. There are two modes
in the power-down state: sleep mode and standby mode.
Instruction execution state
A
A + 1
A + 2
A + 3
31
23
15
7
7
0 7
0 7
0 7
Byte 0
Byte 1 Byte 2 Byte 3
15
0 15
Word 0
Word 1
31
Longword
Big endian

Figure 2.7 Data Formats in Memory

From any state
when reset/manual
reset input
Reset/manual
reset clearance
Reset/manual
reset input
Sleep instruction execution
Interrupt occurence

Figure 2.8 Processing State Transitions

A + 11
A + 10 A + 9
0
31
23
15
0
7
0 7
0 7
Byte 3
Byte 2 Byte 1 Byte 0
0
15
0
15
Word 1
0
31
Longword
Little endian
Reset state
Reset/manual
reset input
Power-down state
A + 8
7
0
0 7
0
Address A + 8
0
Address A + 4
Word 0
0
Address A
Rev. 1.50, 10/04, page 21 of 448

Advertisement

Table of Contents
loading

Table of Contents