41
2.3 Programming Model
[bit 8] T: Step-trace-trap flag
This flag specifies whether to enable step-trace-trap.
0: Disables step-trace-trap.
1: Enables step-trace-trap.
Setting the bit to 1 inhibits all user NMIs and user inter rupts.
The flag is cleared to 0 by resetting.
The step-trace-trap function is used by an emulator. I t cannot be used in user programs
while it is used by the emulator.
❍Interrupt level mask register (ILM)
The configuration of the interrupt level mask register (ILM) is as follows:
The ILM register holds an interrupt level mask value. The va lue hel d by th e ILM register is used
for level masking.
Of the interrupt requests input to the CPU, only those with higher interrup t levels than the lev el
indicated by the ILM are accepted.
The level values range in descending order of highness from 0 (00000B) to 31 (11111B).
The values that can be set from a program are limited. When the or iginal valu e is in the r ange
from 16 to 31, a new value that can be set must be in the same range, i.e., from 16 to 31. If an
instruction that sets a value from 0 to 15 is execut ed, the "specified value + 16" is returned.
When the original value is in the range from 0 to 15, a desire d value from 0 to 31 can be set.
The register is cleared to 15 (01111B) by resetting.
20 19 18 17 16
ILM4 ILM3 ILM2 ILM1 ILM0 01111
B
[Initial value]