Jmpule
From Unofficial QEdit Wiki Guide
Contents
Syntax
Syntax: jmp_<= 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 another register. If they are less or equal go to function. To compare register with an integer use jmpi_<=
Example
90: leti R1, 00000010
100: jmp_<= R1, R2, 101 //If R1 is less or equal to R2 go to function 101
subi R1, R2
jmp 100
101: nop //This example does nothing.
ret