beautypg.com

Texas Instruments MSP50C6xx User Manual

Page 196

background image

Individual Instruction Descriptions

4-110

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]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]

JZ
JS
JC
JG
JE
JA
JB
JO
JRC
JRE
JL
JTF1
JTF2
JTAG
JIN1
JIN2
JXZ
JXS
JXG
JRA
JRZP
JRLZP

pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]

[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]
[label]

JNZ
JNS
JC
JNG
JNE
JNA
JNB
JNO
JRNC
JRNE
JNL
JNTF1
JNTF2
JNTAG
JNIN1
JNIN2
JXNZ
JXNS
JXNG
JRNA
JRNZP
JRNLZP

pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]
pma16 [, Rmod]

Rmod

Rx++
R
x––
R
x++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.