2.
Programming Model
Rev.1.00 Jan. 10, 2008 Page 29 of 1658
REJ09B0261-0100
31
0
R0_BANK0
*
1,
*
2
R1_BANK0
*
2
R2_BANK0
*
2
R3_BANK0
*
2
R4_BANK0
*
2
R5_BANK0
*
2
R6_BANK0
*
2
R7_BANK0
*
2
R8
R9
R10
R11
R12
R13
R14
R15
SR
GBR
MACH
MACL
PR
PC
(a) Re
g
ister confi
g
uration
in user mode
31
0
R0_BANK1
*
1,
*
3
R1_BANK1
*
3
R2_BANK1
*
3
R3_BANK1
*
3
R4_BANK1
*
3
R5_BANK1
*
3
R6_BANK1
*
3
R7_BANK1
*
3
R8
R9
R10
R11
R12
R13
R14
R15
R0_BANK0
*
1,
*
4
R1_BANK0
*
4
R2_BANK0
*
4
R3_BANK0
*
4
R4_BANK0
*
4
R5_BANK0
*
4
R6_BANK0
*
4
R7_BANK0
*
4
(b) Re
g
ister confi
g
uration in
privile
g
ed mode (RB = 1)
GBR
MACH
MACL
VBR
PR
SR
SSR
PC
SPC
31
0
R0_BANK1
*
1,
*
3
R1_BANK1
*
3
R2_BANK1
*
3
R3_BANK1
*
3
R4_BANK1
*
3
R5_BANK1
*
3
R6_BANK1
*
3
R7_BANK1
*
3
R8
R9
R10
R11
R12
R13
R14
R15
R0_BANK0
*
1,
*
4
R1_BANK0
*
4
R2_BANK0
*
4
R3_BANK0
*
4
R4_BANK0
*
4
R5_BANK0
*
4
R6_BANK0
*
4
R7_BANK0
*
4
(c) Re
g
ister confi
g
uration in
privile
g
ed mode (RB = 0)
GBR
MACH
MACL
VBR
PR
SR
SSR
PC
SPC
SGR
DBR
SGR
DBR
R0 is used as the index re
g
ister in indexed re
g
ister-indirect addressin
g
mode and
indexed GBR indirect addressin
g
mode.
Banked re
g
isters
Banked re
g
isters
Accessed as
g
eneral re
g
isters when the RB bit is set to 1 in SR. Accessed only by
LDC/STC instructions when the RB bit is cleared to 0.
Banked re
g
isters
Accessed as
g
eneral re
g
isters when the RB bit is cleared to 0 in SR. Accessed only
by LDC/STC instructions when the RB bit is set to 1.
Notes: 1.
2.
3.
4.
Figure 2.2 CPU Register Configuration in Each Processing Mode
Summary of Contents for SH7781
Page 4: ...Rev 1 00 Jan 10 2008 Page iv of xxx REJ09B0261 0100 ...
Page 74: ...2 Programming Model Rev 1 00 Jan 10 2008 Page 44 of 1658 REJ09B0261 0100 ...
Page 272: ...8 Caches Rev 1 00 Jan 10 2008 Page 242 of 1658 REJ09B0261 0100 ...
Page 376: ...10 Interrupt Controller INTC Rev 1 00 Jan 10 2008 Page 346 of 1658 REJ09B0261 0100 ...
Page 694: ...13 PCI Controller PCIC Rev 1 00 Jan 10 2008 Page 664 of 1658 REJ09B0261 0100 ...
Page 762: ...14 Direct Memory Access Controller DMAC Rev 1 00 Jan 10 2008 Page 732 of 1658 REJ09B0261 0100 ...
Page 788: ...15 Clock Pulse Generator CPG Rev 1 00 Jan 10 2008 Page 758 of 1658 REJ09B0261 0100 ...
Page 828: ...17 Power Down Mode Rev 1 00 Jan 10 2008 Page 798 of 1658 REJ09B0261 0100 ...
Page 846: ...18 Timer Unit TMU Rev 1 00 Jan 10 2008 Page 816 of 1658 REJ09B0261 0100 ...
Page 1292: ...24 Multimedia Card Interface MMCIF Rev 1 00 Jan 10 2008 Page 1262 of 1658 REJ09B0261 0100 ...
Page 1326: ...25 Audio Codec Interface HAC Rev 1 00 Jan 10 2008 Page 1296 of 1658 REJ09B0261 0100 ...
Page 1482: ...28 General Purpose I O Ports GPIO Rev 1 00 Jan 10 2008 Page 1452 of 1658 REJ09B0261 0100 ...
Page 1538: ...30 User Debugging Interface H UDI Rev 1 00 Jan 10 2008 Page 1508 of 1658 REJ09B0261 0100 ...
Page 1688: ...Appendix Rev 1 00 Jan 10 2008 Page 1658 of 1658 REJ09B0261 0100 ...
Page 1691: ......
Page 1692: ...SH7785 Hardware Manual ...