Section 2 Cpu; Register Configuration; General Registers (Rn) - Hitachi SH7032 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

2.1

Register Configuration

The register set consists of sixteen 32-bit general registers, three 32-bit control registers, and four
32-bit system registers.
2.1.1

General Registers (Rn)

General registers Rn consist of sixteen 32-bit registers (R0–R15). General registers are used for
data processing and address calculation. Register R0 also functions as an index register. For some
instructions, the R0 register must be used. Register R15 functions as a stack pointer to save or
restore status registers (SR) and the program counter (PC) during exception handling.
31
R15, SP (hardware stack pointer)

Section 2 CPU

0
R0
R1
R2
R3
R4
R5
R6
R7
R8
R9
R10
R11
R12
R13
R14
Figure 2.1 General Registers (Rn)
R0 functions as an index register
in the indexed register addressing
mode and indirect indexed GBR
addressing mode. In some instruc-
tions, R0 functions as a source
register or a destination register.
R15 functions as a stack pointer (SP)
during exception handling.
17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents