beautypg.com

Texas Instruments MSP50C6xx User Manual

Page 197

background image

Individual Instruction Descriptions

4-111

Assembly Language Instructions

Opcode

Instructions

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Jcc pma16

1

0

0

0

0

0

Not

cc

0

0

0

0

0

x

pma16

Jcc pma16

,

Rx++

1

0

0

0

0

0

Not

cc

Rx

0

1

x

pma16

Jcc pma16

,

Rx––

1

0

0

0

0

0

Not

cc

Rx

1

0

x

pma16

Jcc pma16, Rx++R5

1

0

0

0

0

0

Not

cc

Rx

1

1

x

pma16

cc names

Description

cc

cc name

Not cc name

Description

True condition (Not true condition)

0

0

0

0

0

Z

NZ

Conditional on ZF=1 (Not condition ZF=0)

0

0

0

0

1

S

NS

Conditional on SF=1 (Not condition SF=0)

0

0

0

1

0

C

NC

Conditional on CF=1 (Not condition CF=0)

0

0

0

1

1

B

NB

Conditional on ZF=0 and CF=0 (Not condition ZF

0 or CF

0)

0

0

1

0

0

A

NA

Conditional on ZF=0 and CF=1 (Not condition ZF

0 or CF

1)

0

0

1

0

1

G

NG

Conditional on SF=0 and ZF=0 (Not condition SF

0 or ZF

0)

0

0

1

1

0

E

NE

Conditional if ZF=1 and OF=0 (Not condition ZF

1 or OF

0)

0

0

1

1

1

O

NO

Conditional if OF=1 (Not condition OF=0)

0

1

0

0

0

RC

RNC

Conditional on RCF=1 (Not condition RCF=0)

0

1

0

0

1

RA

RNA

Conditional on RZF=0 and RCF=1 (Not condition RZF

0 or RCF

1)

0

1

0

1

0

RE

RNE

Conditional on RZF=1 (Not condition RZF=0)

0

1

0

1

1

RZP

RNZP

Conditional on value of Rx=0 (Not condition Rx

0)

0

1

1

0

0

RLZP

RNLZP

Conditional on MSB of Rx=1. (Not condition MSB of Rx=0)

0

1

1

0

1

L

NL

Conditional on ZF=0 and SF=1 (Not condition ZF

0 or SF

1)

0

1

1

1

0

reserved

0

1

1

1

1

reserved

1

0

0

0

0

TF1

NTF1

Conditional on TF1=1 (Not condition TF1=0)

1

0

0

0

1

TF2

NTF2

Conditional on TF2=1 (Not condition TF2=0)

1

0

0

1

0

TAG

NTAG

Conditional on TAG=1 (Not condition TAG=0)

1

0

0

1

1

IN1

NIN1

Conditional on IN1=1 status. (Not condition IN1=0)

1

0

1

0

0

IN2

NIN2

Conditional on IN2=1 status. (Not condition IN2=0)

1

0

1

0

1

Unconditional

1

0

1

1

0

reserved

1

0

1

1

1

reserved

1

1

0

0

0

XZ

XNZ

Conditional on XZF=1 (Not condition XZF=0)

1

1

0

0

1

XS

XNS

Conditional on XSF=1 (Not condition XSF=0)

1

1

0

1

0

XG

XNG

Conditional on XSF=0 and XZF=0 (Not condition XSF

0 or XZF

0)

1

1

0

1

1

reserved