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