Individual Instruction Descriptions
4-90
Syntax DescriptionAlternate Syntax
CRC pma16
CRNC pma16
Conditional call on RCF = 1
Conditional call on RCF = 0
CRE pma16
CRNE pma16
CRZ pma16
CRNZ pma16
Conditional call on RZF = 1 (equal)
†
Conditional call on RZF = 0 (not equal)
†
CXG pma16
CXNG pma16
CXNLE pma16
CXLE pma16
Conditional call on transfer greater (signed)
†
Conditional call on transfer not greater (signed)
†
CXS pma16
CXNS pma16
Conditional call on XSF = 1
Conditional call on XSF = 0
†
Alternate mnemonics are provided as a way of improving source code readability. They generate the same opcode as the
original mnemonic. For example, CA (call above) tests the same conditions as CNBE (call not below or equal) but may have
more meaning in a specific section of code.
See Also CALL, VCALL, RET, IRET
Example 4.14.9.1 CZ 0x2010
Call routine at program memory address 0x2010 if a previous operation has set the ZF=1 flag in STAT.
Example 4.14.9.2 CTF1 0x2010
Call routine at program memory address 0x2010 if a previous operation has set the TF1=1 flag in STAT.
Example 4.14.9.3 CRNBE 0x2010
Call routine at program memory address 0x2010 if a previous operation has set the flags RCF=1,
RZF=0 in STAT.