8XC196K x , J x , CA USER'S MANUAL
Mnemonic
JLT
JUMP IF SIGNED LESS THAN. Tests the
negative flag. If the flag is clear, control
passes to the next sequential instruction. If
the negative flag is set, this instruction adds
to the program counter the offset between the
end of this instruction and the target label,
effecting the jump. The offset must be in the
range of –128 to +127.
if N = 1 then
←
PC
Z
—
JNC
JUMP IF CARRY FLAG IS CLEAR. Tests the
carry flag. If the flag is set, control passes to
the next sequential instruction. If the carry
flag is clear, this instruction adds to the
program counter the offset between the end
of this instruction and the target label,
effecting the jump. The offset must be in the
range of –128 to +127.
if C = 0 then
←
PC
Z
—
JNE
JUMP IF NOT EQUAL. Tests the zero flag. If
the flag is set, control passes to the next
sequential instruction. If the zero flag is clear,
this instruction adds to the program counter
the offset between the end of this instruction
and the target label, effecting the jump. The
offset must be in the range of –128 to +127.
if Z = 0 then
←
PC
Z
—
A-20
Table A-6. Instruction Set (Continued)
Operation
PC + 8-bit disp
PSW Flag Settings
N
C
V
VT
ST
—
—
—
—
PC + 8-bit disp
PSW Flag Settings
N
C
V
VT
ST
—
—
—
—
PC + 8-bit disp
PSW Flag Settings
N
C
V
VT
ST
—
—
—
—
Instruction Format
JLT
cadd
(11011110) (disp)
NOTE: The displacement (disp) is sign-
extended to 16 bits.
—
JNC
cadd
(11010011) (disp)
NOTE: The displacement (disp) is sign-
extended to 16 bits.
—
JNE
cadd
(11010111) (disp)
NOTE: The displacement (disp) is sign-
extended to 16 bits.
—