JS
JUMP ON SIGN
JS
Operation: Flags Affected:
if (SF) = 1
then
None
(lP)
+-
(lP) +
disp
(sign-extended
to 16-bits)
Description:
JS (Jump on Sign) transfers control to the
target operand
(lP
+ displacement) if the
tested condition (SF
=
1)
is
true.
Encoding:
I 0 1 1 1 1
00
0 I d isp
.
JS
Operands
Clocks
Transfers
short-label
16or4
-
2-106
Bytes
2
JS Coding Example
JS NEGATIVE