Applied Instructions
An FEND instru he first end of a m and the start of the
program area to be used for subroutines. Under normal operating circumstances the
FEND instruction performs a similar action to the END instruction, i.e. output
processing, inpu and watchdog timer refresh are all carried out on
execution.
ction indicates t ain program
t processing
N
Su
one
itable Device
Function
z If program the tag of CALL instruction behind FEND instruction, there must be SRET
instruction. If the interrupt pointer program behind FEND instruction, there must be SRET
instruction.
z After executing CALL instruction and before executing SRET instruction, if execute FEND
instruction; or execute FEND instruction after executing FOR instruction and before
executing NEXT, then an error will occur.
z In the condition of using many FEND instruction, please compile routine or subroutine
between the last FEND instruction and END instruction.
147