
56
Chapter 3 Functions
3.2 Functions
BReaK
Debug interrupt
BRK
[ Description Example ]
[ Related Instructions ] INT,INTO
[ Function ]
BRK BRK
[ Flag Change ]
*1
*1 The flags are saved to the stack area before the BRK in-
struction is executed. After the interrupt, the flags
change state as shown on the left.
Conditions
U : The flag is cleared.
I : The flag is cleared.
D : The flag is cleared.
[ Syntax ]
BRK
UIOBSZDC
[ Instruction Code/Number of Cycles ]
Page=
159
• This instruction generates a BRK interrupt.
• The BRK interrupt is a nonmaskable interrupt.
Flag
Change
[ Operation ]
SP SP – 2
M(SP) (PC + 1)H, FLG
SP SP – 2
M(SP) (PC + 1)ML
PC M(FFFE416)
Komentarze do niniejszej Instrukcji