
23/212
the timer will tick if the
ClockEnables bit is set to1. ClockEnables can be set using the
clockenb instruction and cleared using clockdis.
Error fla gs
The other machine flags referred to in the instruction definitions are listed in Table 3.4.
ErrorFlag is a pair of flags , one for each priority, set by the processor if an integer error
or integer overflow error occurs and the corresponding trap is not enabled. The
processor will immediately halt if the
HaltOnError flag is also set, or will contin ue
bit number
full name / description
0
breakpoint trap enable bit
1
integer error trap enable bit
2
integer overflow trap enable bit
3
illegal opcode trap enable bit
4
load trap trap enable bit
5
store trap trap enable bit
6
internal channel trap enable bit
7
external channel trap enable bit
8
timer trap enable bit
9
timeslice trap enable bit
10
run trap enable bit
11
signal trap enable bit
12
process interrupt trap enable bit
13
queue empty trap enable bit
15-14
reserved
16
low priority process interrupt enable bit
17
low priority timeslice enable bit
18
low priority external event enable bit
19
low priority timer alarm enable bit
20
high priority process interrupt enable bit
21
high priority timeslice enable bit
22
high priority external event enable bit
23
high priority timer alarm enable bit
31-24
reserved
Table 3.4 Enables register
fla g name
description
ErrorFlag
Untrapped arithmetic error flags
HaltOnErrorFlag
Halt the processor if the
ErrorFlag is set
Table 3.5 Error flags