FANDOM


A VM instruction that jumps to a label (lbl) or instruction block when two values are not equal. Program execution will continue to the next instruction if the comparison is not satisfied.

Usage Edit

jne: [{num1}, {num2}, {label}]

hakkML Example Edit

name: jne_example
blocks:
  core:
  entry: {name: 'main', loc: [0,1]}
code:
  main:
    - jne: [5, 6, success]
    - out: "This will never be called."
    - lbl: success
    - out: "jump instruction succeeded"
    - exit: 0