JS
This instruction jumps only if SF=1
. The flags are not affected.
If a jump occurs, it will copy the jump address into IP
.
Usage
vonsim
JS label
label must be a label that points to an instruction.
Example
vonsim
org 2000h
jump: push ax
; --- etc ---
js jump ; Valid
js 2000h ; Invalid, must be a label
hlt
end
Encoding
00100100
, addr-low, addr-high