
79
Chapter 3 Functions
3.2 Functions
INTerrupt on Overflow
Interrupt on overflow
[ Syntax ]
INTO
[ Related Instructions ] BRK,INT
[ Flag Change ]
INTO INTO
[ Description Example ]
INTO
[ Operation ]
SP SP – 2
M(SP) (PC + 1)H, FLG
SP SP – 2
M(SP) (PC + 1)ML
PC M(FFFE016)
*1 The flags are saved to the stack area before the INTO
instruction is executed. After the interrupt, the flags
change state as shown on the left.
UIOBSZDC
Conditions
U : The flag is cleared.
I : The flag is cleared.
D : The flag is cleared.
[ Instruction Code/Number of Cycles ]
Page=
184
Flag
Change
[ Function ]
• If the O flag is 1, this instruction generates an overflow interrupt. If the flag is 0, the next instruction is
executed.
• The overflow interrupt is a nonmaskable interrupt.
Comentarios a estos manuales