NXP Semiconductors
PT2001SWUG
PT2001 programming guide and instruction set
PT2001SWUG
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2019. All rights reserved.
User guide
Rev. 3.0 — 29 April 2019
145 / 153
The conditional assembly considers a branch only if its parameter is defined (whatever
its value may be). Using an
ELSE
branch is optional. All the instructions placed before
the
#IF
label and after the
#ENDIF
label are excluded from the conditional code block
and are assembled. Only one level of condition assembly is supported, so an
IF
function
cannot be nested within another
IF
function. Consider the example below: