From Unofficial QEdit Wiki Guide
Jump to: navigation, search


Syntax: ujmp_< register1, register2, function

  • register1 = Register to compare
  • register2 = Register to compare with
  • function = Function to jump to if conditions are true.


Used to compare the value of a register with another register. This Opcode is the same as jmp_< except that it tests for an unsigned value. If register 1 is less than register 2 go to function. To compare register with integer value use ujmpi_<


100:     leti R1, 00000002
         leti R2, 00000001
         thread 101 //Threads Function 101.
101:     ujmp_< R1, R2, 102 //If R1 is less than R2 go to function 102
         subi R1, 00000001
         jmp 101
102:     nop //This example does nothing.

Also see

leti, thread, subi, ret, nop, jmp