OpCode

Valid basic OpCodes

Values

ValueMeaning
ExtOpCode0x00

Switch to special OpCodes

SET

SETs b to a

ADD

b = b + a

SUB

b = b - a

MUL

b = b * a

MLI

b = b * a with sign

DIV

b = b / a

DVI

b = b / a with sign

MOD

b = b % a

MDI

b = b % a with sign

AND

b = b & a

BOR

b = b | a

XOR

b = b ^ a

SHR

b = b >>> a (logical shift)

ASR

b = b >> a (arithmetic shift)

SHL

b = b << a

IFB

Next instrucction if ( b & a ) != 0

IFC

Next instrucction if ( b & a ) == 0

IFE

Next instrucction if b == a

IFN

Next instrucction if b != a

IFG

Next instrucction if b > a

IFA

Next instrucction if b > a signed

IFL

Next instrucction if b < a

IFU

Next instrucction if b < a signed

ADX0x1a

b = b + a + EX

SBX0x1b

b = b - a + EX

STI0x1e

sets b = a ; I++ ; J++

STD0x1f

sets b = a ; I-- ; J---

Meta