Toshiba TX39 Computer Hardware User Manual


 
Architecture
51
6.2.1 Cause register (register no.13)
31 30 29 28 27 16 15 10 9 8 7 6 2 1 0
BD 0 CE[1:0] 0 IP[5:0] Sw[1:0] 0 ExCode 0
1 1 2 12 6 2 1 5 2
Bits Mnemonic Field name Description
Value on Reset
Read/Write
31 BD Branch
Delay
Set to 1 when the most recent
exception was caused by an
instruction in the branch delay slot
(executed during a branch).
Undefined Read
29-28 CE Coprocessor
Error
Indicates the coprocessor unit
number referenced when a
Coprocessor Unusable exception is
raised. (CE1, CE0)
(0, 0) = coprocessor unit no. 0
(0, 1) = coprocessor unit no. 1
(1, 0) = coprocessor unit no. 2
(1, 1) = coprocessor unit no. 3
Undefined Read
15-10 IP Interrupt
Pending
Indicates a held external interrupt.
The status of the external interrupt
signal line is shown.
Undefined Read
9-8 Sw Software
Interrupt
Indicates a held software interrupt.
This field can be written in order to
set or reset a software interrupt.
Undefined Read/Write
6-2 ExcCode Exception
Code
Holds an exception code (ExcCode)
indicating the cause of an exception.
The causes corresponding to each
exception code are shown in Table
6-3.
Undefined Read
30
27-16
7
1-0
0 Ignored on write; zero when read. 0 Read
For active interrupt signals, the corresponding IP bit is set to 1. For inactive interrupt signals, the IP bit is
cleared to 0. The IP bit indicates the interrupt signal directly, independent of the Status register IEc bit and
IntMask bit.
Figure 6-2. Cause register