enum Synacor::OpCode

Defined in:

synacor/op_code.cr

Enum Members

Halt = 0_u16
Set = 1_u16
Push = 2_u16
Pop = 3_u16
Eq = 4_u16
Gt = 5_u16
Jmp = 6_u16
Jt = 7_u16
Jf = 8_u16
Add = 9_u16
Mult = 10_u16
Mod = 11_u16
And = 12_u16
Or = 13_u16
Not = 14_u16
Rmem = 15_u16
Wmem = 16_u16
Call = 17_u16
Ret = 18_u16
Out = 19_u16
In = 20_u16
Noop = 21_u16

Instance Method Summary

Instance Method Detail

def add? #

[View source]
def and? #

[View source]
def call? #

[View source]
def eq? #

[View source]
def gt? #

[View source]
def halt? #

[View source]
def in? #

[View source]
def jf? #

[View source]
def jmp? #

[View source]
def jt? #

[View source]
def mod? #

[View source]
def mult? #

[View source]
def noop? #

[View source]
def not? #

[View source]
def or? #

[View source]
def out? #

[View source]
def pop? #

[View source]
def push? #

[View source]
def ret? #

[View source]
def rmem? #

[View source]
def set? #

[View source]
def wmem? #

[View source]