Texas Instruments MSP50C6xx manual If test condition is false, a NOP is executed

Models: MSP50C6xx

1 390
Download 390 pages 41.72 Kb
Page 198
Image 198

Individual Instruction Descriptions

 

 

 

 

 

cc names

Description

 

 

cc

 

 

cc name

Not cc name

True condition (Not true condition)

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

0

0

 

 

reserved

 

 

 

 

 

 

 

 

1

1

1

0

1

 

 

reserved

 

 

 

 

 

 

 

 

1

1

1

1

0

 

 

reserved

 

 

 

 

 

 

 

 

1

1

1

1

1

 

 

reserved

 

 

 

 

 

 

 

Description

 

 

PC is replaced with second word operand if condition is true (or unconditional).

If test condition is false, a NOP is executed.

Syntax

Alternate

Description

 

Instruction

 

 

 

 

JA pma16 [, Rmod]

JNBE

Conditional jump on above (unsigned)

 

 

 

JNA pma16 [, Rmod]

JBE

Conditional jump on not above (unsigned)

 

 

 

JB pma16 [, Rmod]

JNAE

Conditional jump on below (unsigned)

 

 

 

JNB pma16 [, Rmod]

JAE

Conditional jump on not below (unsigned)

 

 

 

JC pma16 [, Rmod]

 

Conditional jump on CF = 1

 

 

 

JNC pma16 [, Rmod]

 

Conditional jump on CF = 0

 

 

 

JE pma16 [, Rmod]

 

Conditional jump on equal

 

 

 

JNE pma16 [, Rmod]

 

Conditional jump on not equal

 

 

 

JG pma16 [, Rmod]

JNLE

Conditional jump on greater (signed)

 

 

 

JNG pma16 [, Rmod]

JLE

Conditional jump on not greater (signed)

 

 

 

JIN1 pma16 [, Rmod]

 

Conditional jump on port D pin PD0=1

JNIN1 pma16 [, Rmod]

 

Conditional jump on port D pin PD0=0

JIN2 pma16 [, Rmod]

 

Conditional jump on port D pin PD1=1

JNIN2 pma16 [, Rmod]

 

Conditional jump on port D pin PD1=0

JL pma16 [, Rmod]

JNGE

Conditional jump on less than(signed)

 

 

 

JNL pma16 [, Rmod]

JGE

Conditional jump on not less than (signed)

 

 

 

JO pma16 [, Rmod]

 

Conditional jump on OF = 1

 

 

 

JNO pma16 [, Rmod]

 

Conditional jump on OF = 0

 

 

 

JRA pma16 [, Rmod]

 

Conditional jump on Rx above (unsigned)

 

 

 

JRNA pma16 [, Rmod]

JRBE

Conditional jump on Rx not above (unsigned)

 

 

 

JRC pma16 [, Rmod]

 

Conditional jump on XCF = 1

 

 

 

JRNC pma16 [, Rmod]

 

Conditional jump on XCF = 0

 

 

 

JRE pma16 [, Rmod]

JRZ

Conditional jump on XZF = 1 (equal)

JRNE pma16 [, Rmod]

JRNZ

Conditional jump on XZF = 0 (not equal)

JRNBE pma16 [, Rmod]

 

Conditional jump on Rx not below or equal (unsigned)

JRLZP pma16 [, Rmod]

 

Conditional jump on Rx < 0 after post-mod

4-112

Page 198
Image 198
Texas Instruments MSP50C6xx manual If test condition is false, a NOP is executed