Download Print this page

Cpu Programming Model; Control Registers - Renesas M32R-FPU Software Manual

32-bit risc single-chip microcomputer

Advertisement

1

1.3 Control Registers

There are 6 control registers which are the Processor Status Word Register (PSW),
the Condition Bit Register (CBR), the Interrupt Stack Pointer (SPI), the User Stack
Pointer (SPU), the Backup PC (BPC) and the Floating-point Status Register (FPSR).
The dedicated MVTC and MVFC instructions are used for writing and reading these
control registers.
In addition, the SM bit, IE bit and C bit of the PSW can also be set by the SETPSW
instruction or the CLRPSW instruction.
Notes: • CRn (n = 0 - 3, 6 and 7) denotes the control register number.
• The dedicated MVTC and MVFC instructions are used for writing and reading these control registers.
• The SM bit, IE bit and C bit of the PSW can also be set by the SETPSW instruction or the CLRPSW
instruction.
Figure 1.3.1 Control Registers

CPU PROGRAMMING MODEL

CRn
b0
CR0
PSW
CR1
CBR
CR2
SPI
CR3
SPU
CR6
BPC
CR7
FPSR
1-3
b31
Processor Status Register
Condition Bit Register
Interrupt Stack Pointer
User Stack Pointer
Backup PC
Floating-point Status Register
M32R-FPU Software Manual (Rev.1.01)
1.3 Control Registers

Advertisement

loading