135
FNC
06
F E N D
1
2
M
3
○ ○ ○○
X20
FEND
P1
〜〜〜
CALL P1
SRET
IX0P
IRET
END
〜
First End
The First END of the
Main Program
The P1
Subroutine
The IX0P Interrupt
Subroutine
An FEND instruction indicates the rst end of the main program
block.
An FEND instruction placed before the CALL instruction or after
the SRET instruction will be treated as an error.
The Interrupt Pointer “I” (including all the “IX □□ ”, “IHC □□ ”,
“IHHC □ ”, “IT □□□ ”) and the Mark / Branch Point “P” (which
is specied by the CALL instruction) should be written behind the
FEND instruction.
If two or more FEND instructions are used, the subroutine should
be placed between the last FEND instruction and the END
instruction.