Individual Instruction Descriptions

4.14.26 Jcc

 

 

Conditional Jumps

 

 

 

 

Syntax

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[label]

name

 

pma16 [, Rmod]

Clock, clk

Word, w

With RPT, clk

Class

 

 

 

 

 

 

 

 

 

 

 

Jcc

 

pma16 [, Rmod]

2

2

N/R

7b

 

 

 

 

 

 

 

 

 

 

 

If true

 

 

 

 

If Not true

 

 

 

 

 

 

 

 

 

 

 

 

[label]

JZ

 

pma16 [, Rmod]

[label]

JNZ

pma16 [, Rmod]

 

[label]

JS

 

pma16 [, Rmod]

[label]

JNS

pma16 [, Rmod]

 

[label]

JC

 

pma16 [, Rmod]

[label]

JC

pma16 [, Rmod]

 

[label]

JG

 

pma16 [, Rmod]

[label]

JNG

pma16 [, Rmod]

 

[label]

JE

 

pma16 [, Rmod]

[label]

JNE

pma16 [, Rmod]

 

[label]

JA

 

pma16 [, Rmod]

[label]

JNA

pma16 [, Rmod]

 

[label]

JB

 

pma16 [, Rmod]

[label]

JNB

pma16 [, Rmod]

 

[label]

JO

 

pma16 [, Rmod]

[label]

JNO

pma16 [, Rmod]

 

[label]

JRC

 

pma16 [, Rmod]

[label]

JRNC

pma16 [, Rmod]

 

[label]

JRE

 

pma16 [, Rmod]

[label]

JRNE

pma16 [, Rmod]

 

[label]

JL

 

pma16 [, Rmod]

[label]

JNL

pma16 [, Rmod]

 

[label]

JTF1

pma16 [, Rmod]

[label]

JNTF1

pma16 [, Rmod]

 

[label]

JTF2

pma16 [, Rmod]

[label]

JNTF2

pma16 [, Rmod]

 

[label]

JTAG

pma16 [, Rmod]

[label]

JNTAG

pma16 [, Rmod]

 

[label]

JIN1

 

pma16 [, Rmod]

[label]

JNIN1

pma16 [, Rmod]

 

[label]

JIN2

 

pma16 [, Rmod]

[label]

JNIN2

pma16 [, Rmod]

 

[label]

JXZ

 

pma16 [, Rmod]

[label]

JXNZ

pma16 [, Rmod]

 

[label]

JXS

 

pma16 [, Rmod]

[label]

JXNS

pma16 [, Rmod]

 

[label]

JXG

 

pma16 [, Rmod]

[label]

JXNG

pma16 [, Rmod]

 

[label]

JRA

 

pma16 [, Rmod]

[label]

JRNA

pma16 [, Rmod]

 

[label]

JRZP

pma16 [, Rmod]

[label]

JRNZP

pma16 [, Rmod]

 

[label]

JRLZP

pma16 [, Rmod]

[label]

JRNLZP

pma16 [, Rmod]

 

 

 

 

 

 

 

 

 

Rmod

Rx++

 

 

 

 

 

 

 

Rx––

 

 

 

 

 

 

 

Rx++R5

 

 

 

 

 

 

 

 

 

 

 

Execution

IF (condition = true OR unconditional)

 

 

 

 

 

 

 

 

PC pma16

 

 

 

 

ELSE

NOP

PC PC + 2

[if post modification specified] IF (Rmod = Rx++)

Rx = Rx + 2

ELSE IF (Rmod = Rx––) Rx = Rx – 2

ELSE IF (Rmod = Rx++R5) Rx = Rx +R5

Flags Affected

RCF and RZF affected by post-modification of Rx.

4-110

Page 196
Image 196
Texas Instruments MSP50C6xx manual Conditional Jumps, RCF and RZF affected by post-modification of R