dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 503

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Jcc
Operation:
If (cc), then S
else
Description: If the specified condition is true, program execution continues at the effective address specified in the
Example:
Explanation of Example:
Restrictions:
Condition Codes Affected:
Freescale Semiconductor
PC + 1 → PC
instruction. If the specified condition is false, the PC is incremented and program execution continues
sequentially. The effective address is a 19- or 21-bit absolute address.
The term “cc” specifies the following:
LABEL
In this example, if C is one when the JCS instruction is executed, program execution skips the two
INC.W instructions and continues with the ADD instruction. If the specified condition is not true, no
jump is taken, the program counter is incremented by one, and program execution continues with the
first INC.W instruction. The Jcc instruction uses a 19-bit absolute address for this example.
Refer to Section 10.4, “Pipeline Dependencies and Interlocks,” on page 10-26.
The condition codes are tested but not modified by this instruction.
CC (HS*)— carry clear (higher or same)
CS (LO*)— carry set (lower)
EQ— equal
GE— greater than or equal
GT— greater than
LE— less than or equal
LT— less than
NE— not equal
NN— not normalized
NR— normalized
* Only available when CM bit is set in the OMR
Xdenotes the logical complement of X
+denotes the logical OR operator
•denotes the logical AND operator
⊕denotes the logical exclusive OR operator
→ PC
JCS
INC.W
INC.W
ADD
“cc” Mnemonic
LABEL ; jump to LABEL if carry bit is set
A
A
B,A
Jump Conditionally
Instruction Set Details
Assembler Syntax:
Jcc
C = 0
C = 1
Z = 1
N ⊕ V = 0
Z + (N ⊕ V) = 0
Z + (N ⊕ V) = 1
N ⊕ V = 1
Z = 0
Z + (U
Z + (U
S {<ABS19> or <ABS21>}
Condition
E) = 0
E) = 1
Jcc
A-159

Related parts for dsp56800e