beautypg.com

9 c cc conditional subroutine call – Texas Instruments MSP50C6xx User Manual

Page 173

background image

Individual Instruction Descriptions

4-87

Assembly Language Instructions

4.14.9 Ccc

Conditional Subroutine Call

Syntax

[label]

name

address

Clock, clk

Word, w

With RPT, clk

Class

Ccc

pma16

2

2

N/R

7c

† Cannot immediately follow a CALL instruction with a return instruction.

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]

CZ
CS
CC
CG
CE
CA
CB
CO
CRC
CRE
CL
CTF1
CTF2
CTAG
CIN1
CIN2
CXZ
CXS
CXG
CRA

pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16

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

CNZ
CNS
CNC
CNG
CNE
CNA
CNB
CNO
CRNC
CRNE
CNL
CNTF1
CNTF2
CNTAG
CNIN1
CNIN2
CXNZ
CXNS
CXNG
CRNA

pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16
pma16

Execution

IF (cc = true)

*R7

TOS

TOS

PC + 2

PC

pma16

R7

R7 + 2

ELSE

NOP
PC

PC + 2

Flags Affected

none

Opcode

Instructions

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Ccc pma16

1

0

0

0

0

1

Not

cc

0

0

0

0

0

x

pma16