Texas Instruments MSP50C614 manual CALL, VCALL, RET, Iret, 0x2010, CTF1, Crnbe

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 181
Image 181

 

 

Individual Instruction Descriptions

 

 

 

 

 

Syntax

Alternate Syntax

Description

 

 

 

 

 

CRC pma16

 

Conditional call on RCF = 1

 

CRNC pma16

 

Conditional call on RCF = 0

 

CRE pma16

CRZ pma16

Conditional call on RZF = 1 (equal)²

 

CRNE pma16

CRNZ pma16

Conditional call on RZF = 0 (not equal)²

 

CXG pma16

CXNLE pma16

Conditional call on transfer greater (signed)²

 

CXNG pma16

CXLE pma16

Conditional call on transfer not greater (signed)²

 

CXS pma16

 

Conditional call on XSF = 1

 

CXNS pma16

 

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.

Assembly Language Instructions

4-89

Page 181
Image 181
Texas Instruments MSP50C614 manual CALL, VCALL, RET, Iret, 0x2010, CTF1, Crnbe