User Manual
High−level Instructions
3 − 783
Program example
This is a program in which the index register bank is switched to “2” at the beginning of the interrupt program,
and is then switched back again to the original index register bank just before the end of the interrupt program
(before the IRET instruction).
END
R9010
F411 CHGB, H2
INT 0
R9010
F412 POPB
IRET
Main program
Sub program
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− The bank number is not from K0 to K15.