Ujmpuge

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: ujmp_>= register1, register2, function

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

Use

Used to compare the value of a register with a integer value. This Opcode is the same as jmp_>= except that it tests an unsigned value. If they are greater or equal go to function. To compare register with an integer use ujmpi_>=

Example


100:     ujmp_>= R1, R2, 101 //If R1 is greater or equal to R2 go to function 101
         let R1, R2
         jmp 100
101:     nop //This example does nothing.
         ret 

Also see

let, ret, nop, jmp