(Example - releasing IDLE1 Mode)
An INT0 interrupt clears the Halt state when the device is in IDLE1 Mode.
Address
8200H
LD
(PCFC), 02H
8203H
LD
(IIMC0), 00H
8206H
LD
(INTE0), 06H
8209H
EI
5
820BH
LD
(SYSCR2), 28H
820EH
HALT
INT0
820FH
LD
XX, XX
; Sets PC1 to INT0 interrupt.
; Select INT0 interrupt rising edge.
; Sets INT0 interrupt level to 6.
; Sets CPU interrupt level to 5.
; Sets Halt mode to IDLE1 mode.
; Halts CPU.
92CZ26A-37
TMP92CZ26A
INT0 interrupt routine.
RETI