Jcc jump conditionally jcc – Motorola DSP96002 User Manual
Page 380
A - 192
DSP96002 USER’S MANUAL
MOTOROLA
Jcc
Jump Conditionally
Jcc
Operation:
If cc, then xx
→
PC
else PC + 1
→
PC
If cc, then ea
→
PC
else PC + 1
→
PC
Assembler Syntax:
Jcc label (short)
Jcc ea
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
Condition
CC (HS) - carry clear (higher or same)
C = 0
CS (LO) - carry set (lower)
C = 1
EQ
- equal
Z = 1
GE
- greater or equal
N && V = 0
GT
- greater than
Z v (N && V) = 0
HI
- higher
Z v C = 0
LE
- less or equal
Z v (N && V) = 1
LS
- lower or same
Z v C = 1
LT
- less than
N && V = 1
MI
- minus
N = 1
NE(Q)
- not equal
Z = 0
PL
- plus
N = 0
VC
- overflow clear
V = 0
VS
- overflow set
V = 1
CCR Condition Codes: Not affected.
ER Status Bits: Not affected.
IER Flags: Not affected.