Individual Instruction Descriptions

 

Description

If cc condition in Table 4–48 is true, PC + 2 is pushed onto the stack and the

 

second word operand is loaded into the PC. If the condition is false, execution

 

defaults to a NOP. A Ccc instruction cannot be followed by a return (RET)

 

instruction. No restriction applies if IRET is used instead of RET.

 

 

 

Syntax

Alternate Syntax

Description

 

 

 

CA pma16

CNBE pma16

Conditional call on above (unsigned)

CNA pma16

CBE pma16

Conditional call on not above (unsigned)

CB pma16

 

Conditional call on below (unsigned)

CNB pma16

 

Conditional call on not below (unsigned)

CC pma16

 

Conditional call on CF = 1

CNC pma16

 

Conditional call on CF = 0

CE pma16

 

Conditional call on equal

CNE pma16

 

Conditional call on not equal

CG pma16

CNLE pma16

Conditional call on greater (signed)

CNG pma16

CLE pma16

Conditional call on not greater (signed)

CIN1 pma16

 

Conditional call on IN1 = 1

CNIN1 pma16

 

Conditional call on IN1 = 0

CIN2 pma16

 

Conditional call on IN2 = 1

CNIN2 pma16

 

Conditional call on IN2 = 0

CL pma16

CNGE pma16

Conditional call on less (signed)

CNL pma16

CGE pma16

Conditional call on not less (signed)

CO pma16

 

Conditional call on OF = 1

CNO pma16

 

Conditional call on OF = 0

CS pma16

 

Conditional call on SF = 1

CNS pma16

 

Conditional call on SF = 0

CTAG pma16

 

Conditional call on TAG = 1

CNTAG pma16

 

Conditional call on TAG = 0

CTF1 pma16

 

Conditional call on TF1 = 1

CNTF1 pma16

 

Conditional call on TF1 = 0

CTF2 pma16

 

Conditional call on TF2 = 1

CNTF2 pma16

 

Conditional call on TF2 = 0

CZ pma16

 

Conditional call on ZF = 1

CNZ pma16

 

Conditional call on ZF = 0

CRA pma16

CRNBE pma16

Conditional call on Rx above (unsigned)

CRNA pma16

CRBE pma16

Conditional call on Rx not above (unsigned)

Assembly Language Instructions

4-89

Page 175
Image 175
Texas Instruments MSP50C6xx manual Syntax Alternate Syntax Description