Ujmpiule

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: ujmpi_<= 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. This Opcode is the same as jmpi_<= except that it tests an unsigned value. If they are less or equal go to function. To compare register with another register use ujmp_<=

Example


90:      leti R1, 00000010
100:     ujmpi_<= R1, 0000000A, 101 //If R1 is less or equal to 10 go to function 101
         subi R1, 00000001
         jmp 100
101:     nop //This example does nothing.
         ret 

Also see

subi, ret, nop, jmp