118
User’s Manual U11969EJ3V0UM00
CHAPTER 5 INTERRUPT/EXCEPTION PROCESSING FUNCTION
5.3.5 In-service priority register (ISPR)
This register holds the priority level of the maskable interrupt currently accepted. When an interrupt request is
accepted, the bit of this register corresponding to the priority level of that interrupt is set to 1 and remains set while
the interrupt is serviced.
When the RETI instruction is executed, the bit corresponding to the interrupt request having the highest priority
is automatically reset to 0 by hardware. However, it is not reset when execution is returned from non-maskable
processing or exception processing.
This register can be only read in 8- or 1-bit units.
Bit Position
Bit Name
Function
7 to 0
ISPR7 to
In-Service Priority Flag
ISPR0
Indicates priority of interrupt currently accepted
0: Interrupt request with priority n not accepted
1: Interrupt request with priority n accepted
Remark
n: 0 to 7 (priority level)
5.3.6 Maskable interrupt status flag (ID)
The interrupt disable status flag (ID) of the PSW controls the enabling and disabling of maskable interrupt requests.
Bit Position
Bit Name
Function
5
ID
Interrupt Disable
Indicates enabling/disabling of maskable interrupt processing.
0: Maskable interrupt accepting enabled
1: Maskable interrupt accepting disabled (pending)
It is set to 1 by the DI instruction and reset to 0 by the EI instruction. Its value is
also modified by the RETI instruction or LDSR instruction when referencing the
PSW.
Non-maskable interrupt and exceptions are acknowledged regardless of this flag.
When a maskable interrupt is accepted, ID flag is automatically set to 1 by
hardware.
The interrupt request generated during the accepting disabled period (ID:1) is
accepted when the xxIFn bit of xxICn is set to 1, and ID flag is reset to 0.
Address
FFFFF166H
7
ISPR7
ISPR
6
ISPR6
5
ISPR5
4
ISPR4
3
ISPR3
2
ISPR2
1
ISPR1
0
ISPR0
After reset
00H
31
0
PSW
After reset
00000020H
7
NP
6
EP
5
ID
4
SAT
3
CY
2
OV
1
S Z
8
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Summary of Contents for V854 UPD703006
Page 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Page 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Page 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Page 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Page 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Page 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Page 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Page 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Page 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Page 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Page 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Page 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...