Jmpiuge

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: jmpi_>= register1, xxxxxxxx, function

  • register1 = Register to compare
  • xxxxxxxx = Integer value 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. If they are greater or equal go to function. To compare register with another register use jmp_>=

Example


100:     jmpi_>= R1, 00000001, 101 //If R1 is greater or equal to 1 go to function 101
         leti R1, 00000005
         jmp 100
101:     nop //This example does nothing.
         ret 

Also see

leti, ret, nop, jmp