Chapter 3
Functions
INTO
[ Syntax ]
INTO
[ Operation ]
SP
SP –
M(SP)
(PC
SP
SP
–
M(SP)
(PC
PC
M(FFFE0
[ 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.
[ Flag Change ]
Flag
U
I
O
Change
Conditions
U :
The flag is cleared.
I
:
The flag is cleared.
D :
The flag is cleared.
[ Description Example ]
INTO
[ Related Instructions ]
Interrupt on overflow
INTerrupt on Overflow
2
+
1)
, FLG
H
2
+
1)
ML
)
16
B
S
Z
D
C
BRK,INT
[ Instruction Code/Number of Cycles ]
*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.
79
3.2 Functions
INTO
Page=182