|
HD6417750RF240DV Datasheet, PDF (109/1132 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family / SH7750 Series | |||
|
◁ |
SH7750, SH7750S, SH7750R Group
Section 2 Programming Model
2.2.2 General Registers
Figure 2.3 shows the relationship between the processor modes and general registers. The SH-4
has twenty-four 32-bit general registers (R0_BANK0âR7_BANK0, R0_BANK1âR7_BANK1,
and R8âR15). However, only 16 of these can be accessed as general registers R0âR15 in one
processor mode. The SH-4 has two processor modes, user mode and privileged mode, in which
R0âR7 are assigned as shown below.
⢠R0_BANK0âR7_BANK0
In user mode (SR.MD = 0), R0âR7 are always assigned to R0_BANK0âR7_BANK0.
In privileged mode (SR.MD = 1), R0âR7 are assigned to R0_BANK0âR7_BANK0 only when
SR.RB = 0.
⢠R0_BANK1âR7_BANK1
In user mode, R0_BANK1âR7_BANK1 cannot be accessed.
In privileged mode, R0âR7 are assigned to R0_BANK1âR7_BANK1 only when SR.RB = 1.
R01UH0456EJ0702 Rev. 7.02
Sep 24, 2013
Page 57 of 1076
|
▷ |