Ad
  • Custom User Avatar
    • jnz x y - jumps to an instruction y steps away (positive means forward, negative means backward, y can be a register or a constant), but only if x (a constant or a register) is not zero

    jnz 5 10 -> 5 here is a constant, which is not zero, which means your next step should be jumping forward 10 steps, which ends the program.

    Not a kata issue.