.jump.x

Jump to point if [cell] has TRUE

Note: This instruction checks runtime type in cell memory

Required type: u2 (boolean)

.jump.x &(point) ~- &(targetCell)

Examples

; ...
; set ref into [0xF] cell
.ref.t &(0xF2)
; ...
; Checks memory values in cells [0x0],[0x0]
; and puts result (boolean) in [0x2] cell
.ceq &(0x2) <| &(0x0) &(0x0)
; goto [0xF] if [0x2] has TRUE
.jump.x &(0xF2) ~- &(0x2)

OpCode

0x09

See also

‚Äč