Motorola DSP96002 User Manual page 380

32-bit digital signal processor
Table of Contents

Advertisement

Jcc
Operation:
If cc, then xx
PC
else PC + 1
PC
If cc, then ea
PC
else PC + 1
PC
Description:
If the specified condition is true, program execution continues at a location specified by an effective ad-
dress in the instruction. If the specified condition is false, the PC is incremented and the effective address
is ignored. However, the address register specified in the effective address field is always updated inde-
pendently of the condition. All memory alterable addressing modes may be used for the effective address.
A Fast Short Jump addressing mode may also be used. The 15-bit data is sign extended to form the ef-
fective address. See Section A.10 for restrictions.
"cc" may specify the following conditions:
Mnemonic
CC (HS) - carry clear (higher or same)
CS (LO) - carry set (lower)
EQ
GE
GT
HI
LE
LS
LT
MI
NE(Q)
PL
VC
VS
CCR Condition Codes: Not affected.
ER Status Bits: Not affected.
IER Flags: Not affected.
A - 192
Jump Conditionally
- equal
- greater or equal
- greater than
- higher
- less or equal
- lower or same
- less than
- minus
- not equal
- plus
- overflow clear
- overflow set
DSP96002 USER'S MANUAL
Assembler Syntax:
Jcc
label (short)
Jcc
ea
Condition
C = 0
C = 1
Z = 1
N && V = 0
Z v (N && V) = 0
Z v C = 0
Z v (N && V) = 1
Z v C = 1
N && V = 1
N = 1
Z = 0
N = 0
V = 0
V = 1
Jcc
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents