Jmpiuexe

From Unofficial QEdit Wiki Guide
Revision as of 11:21, 5 April 2011 by Tofuman (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 NOT equal go to function. To compare register with another register use jmp_!=

Example


100:     jmpi_!= R1, 00000000, 101 //If R1 is NOT equal to 0 go to function 101
         leti R1, 00000001
         jmp 100
         ret 
101:     nop //This example does nothing.
         ret 

Also see

leti, ret, nop, jmp