EasyManuals Logo

Thinget XC Series User Manual

Thinget XC Series
283 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #76 background imageLoading...
Page #76 background image
Applied Instructions
A of the
pr es the
FE output
p t on
ex
[FEND] AND [END]
1
n FEND instruction indicates the first end of a main program and the start
ogram area to be used for subroutines. Under normal operating circumstanc
ND instruction performs a similar action to the END instruction, i.e.
rocessing, input processing and watchdog timer refresh are all carried ou
ecution.
6 bits instructionFENDEND 32 bits instruction-
Suitable Models
XC1XC3XC5
None
Suitable 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.
76

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Thinget XC Series and is the answer not in the manual?

Thinget XC Series Specifications

General IconGeneral
BrandThinget
ModelXC Series
CategoryController
LanguageEnglish

Related product manuals