EasyManua.ls Logo

Thinget XC3-24RT-E - Page 147

Default Icon
283 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals