Intel 8XC196MC Microscope & Magnifier User Manual


 
A-21
INSTRUCTION SET REFERENCE
JNH JUMP IF NOT HIGHER (UNSIGNED). Tests
both the zero flag and the carry flag. If the
carry flag is set and the zero flag is clear,
control passes to the next sequential
instruction. If either the carry flag is clear or
the zero 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
range of –128 to +127.
if C = 0 OR Z = 1 then
PC
PC + 8-bit disp
JNH cadd
(11010001) (disp)
NOTE: The displacement (disp) is sign-
extended to 16 bits.
PSW Flag Settings
ZNCVVTST
——————
JNST JUMP IF STICKY BIT FLAG IS CLEAR. Tests
the sticky bit flag. If the flag is set, control
passes to the next sequential instruction. If
the sticky bit 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
range of –128 to +127.
if ST = 0 then
PC
PC + 8-bit disp
JNST cadd
(11010000) (disp)
NOTE: The displacement (disp) is sign-
extended to 16 bits.
PSW Flag Settings
ZNCVVTST
——————
JNV JUMP IF OVERFLOW FLAG IS CLEAR.
Tests the overflow flag. If the flag is set,
control passes to the next sequential
instruction. If the overflow 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 range of –128 to +127.
if V = 0 then
PC
PC + 8-bit disp
JNV cadd
(11010101) (disp)
NOTE: The displacement (disp) is sign-
extended to 16 bits.
PSW Flag Settings
ZNCVVTST
——————
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format