Rev. 1.50, 10/04, page 14 of 448
2.2.4 Control
Registers
Status Register (SR)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
BIt:
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
MD
RB
BL
FD
M
Q
IMASK
S
T
Initial value:
R
R/W
R/W
R/W
R
R
R
R
R
R
R
R
R
R
R
R
R/W:
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
BIt:
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
Initial value:
R/W
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R/W
R/W
R/W:
Bit Bit
Name
Initial
Value R/W Description
31 —
0 R Reserved
For details on reading/writing this bit, see General
Precautions on Handling of Product.
30 MD
1 R/W
Processing
Mode
Selects the processing mode.
0: User mode (Some instructions cannot be executed
and some resources cannot be accessed.)
1: Privileged mode
This bit is set to 1 by an exception or interrupt.
29
RB
1
R/W
Privileged Mode General Register Bank Specification
Bit
0: R0_BANK0 to R7_BANK0 are accessed as general
registers R0 to R7 and R0_BANK1 to R7_BANK1 can
be accessed using LDC/STC instructions
1: R0_BANK1 to R7_BANK1 are accessed as general
registers R0 to R7 and R0_BANK0–R7_BANK0 can
be accessed using LDC/STC instructions
This bit is set to 1 by an exception or interrupt.
28
BL
1
R/W
Exception/Interrupt Block Bit
This bit is set to 1 by a reset, an exception, or an
interrupt. While this bit is set to 1, an interrupt request is
masked. In this case, this processor enters the reset
state when a general exception other than a user break
occurs.
27 to 16 —
All 0
R
Reserved
For details on reading/writing this bit, see General
Precautions on Handling of Product.
Summary of Contents for SuperH SH-4A
Page 2: ...Rev 1 50 10 04 page ii of xx ...
Page 8: ...Rev 1 50 10 04 page viii of xx ...
Page 116: ...Rev 1 50 10 04 page 96 of 448 ...
Page 178: ...Rev 1 50 10 04 page 158 of 448 ...
Page 206: ...Rev 1 50 10 04 page 186 of 448 ...
Page 231: ...Rev 1 50 10 04 page 211 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 235: ...Rev 1 50 10 04 page 215 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 238: ...Rev 1 50 10 04 page 218 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 408: ...Rev 1 50 10 04 page 388 of 448 Possible Exceptions Inexact Not generated when FPSCR PR 1 ...
Page 446: ...Rev 1 50 10 04 page 426 of 448 ...
Page 468: ...Rev 1 50 10 04 page 448 of 448 ...
Page 471: ......
Page 472: ...SH 4A Software Manual ...