enum Op

Defined in:

opcodes.cr

Enum Members

END = 0
ECHO = 1
PUSH = 2
POP = 3
SWAP = 4
DUP = 5
RETURN = 6
PROC = 7
CALL = 8
LOAD = 9
STORE = 10
INDEX = 11
CONCAT = 12
ADD = 13
SUB = 14
MUL = 15
DIV = 16
POW = 17
MOD = 18
BSHL = 19
BSHR = 20
BNOT = 21
BAND = 22
BOR = 23
BXOR = 24
AND = 25
OR = 26
NOT = 27
LT = 28
LTE = 29
GT = 30
GTE = 31
EQ = 32
JMP = 33
JZ = 34
JNZ = 35
NOOP = 36

Instance Method Summary

Instance Method Detail

def add? #

[View source]
def and? #

[View source]
def band? #

[View source]
def bnot? #

[View source]
def bor? #

[View source]
def bshl? #

[View source]
def bshr? #

[View source]
def bxor? #

[View source]
def call? #

[View source]
def concat? #

[View source]
def div? #

[View source]
def dup? #

[View source]
def echo? #

[View source]
def end? #

[View source]
def eq? #

[View source]
def gt? #

[View source]
def gte? #

[View source]
def index? #

[View source]
def jmp? #

[View source]
def jnz? #

[View source]
def jz? #

[View source]
def load? #

[View source]
def lt? #

[View source]
def lte? #

[View source]
def mod? #

[View source]
def mul? #

[View source]
def noop? #

[View source]
def not? #

[View source]
def or? #

[View source]
def pop? #

[View source]
def pow? #

[View source]
def proc? #

[View source]
def push? #

[View source]
def return? #

[View source]
def store? #

[View source]
def sub? #

[View source]
def swap? #

[View source]