Idle Until Interrupt
IDLE
13-109
Assembly Language Instructions
Syntax
IDLE
Operation
1
→
ST(GIE)
Next PC
→
PC
Idle until interrupt.
Operands
None
Opcode
31
24 23
16
8 7
0
15
0 0 0
0 0
0
1
0
1
0 0 0 0 0
0
0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Description
The global-interrupt-enable bit is set, the next PC value is loaded into the PC,
and the CPU idles until an unmasked interrupt is received. When the interrupt
is received, the contents of the PC are pushed onto the active system stack,
the interrupt vector is read, and the interrupt service routine is executed.
Cycles
1
Status Bits
LUF
Unaffected
LV
Unaffected
UF
Unaffected
N
Unaffected
Z
Unaffected
V
Unaffected
C
Unaffected
OVM
Operation is not affected by OVM bit value.
Example
IDLE
; The processor idles until a reset
; or unmasked interrupt occurs.
For correct device operation, the three instructions after a delayed
branch should not be IDLE or IDLE2 instructions.
Mode Bit