INSTRUCTION DESCRIPTIONS

JCLR

Jump if Bit Clear

JCLR

Restrictions: A JCLR instruction cannot be repeated using the REP instruction.

A JCLR located at LA, LA–1, or LA–2 of the DO loop cannot specify the program control- ler registers SR, SP, SSH, SSL, LA, or LC as its target.

JCLR SSH or JCLR SSL cannot follow an instruction that changes the SP.

Example:

:

JCLR #$5,X:<<$FFF1,$1234 ;go to P:$1234 if bit 5 in SCI SSR is clear

:

Explanation of Example: In this example, program execution is transferred to the

address P:$1234 if bit 5 (PE) of the 8-bit read-only X memory location X:$FFF1 (I/O SCI interface status register) is a zero. If the specified bit is not clear, no jump is taken, and the program counter (PC) is incremented by one.

Condition Codes:

15

14

 

13

12

11

10

9

8

7

6

 

5

4

3

2

1

0

LF

DM

T

**

 

S1

S0

 

I1

I0

S

L

E

U

N

Z

 

V

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MR

 

 

 

 

 

 

 

 

 

 

CCR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For destination operand A or B:

S —Computed according to the definition. See Notes on page A-115.L — Set if data limiting has occurred. See Notes on page A-115.

E — Not affected

U — Not affected

N — Not affected

Z — Not affected

V — Not affected

C — Not affected

For other source operands:

The condition codes are not affected.

MOTOROLA

INSTRUCTION SET DETAILS

A - 111

Page 380
Image 380
Motorola DSP56000, 24-Bit Digital Signal Processor manual For other source operands Condition codes are not affected