enum Pyramid::VirtualMachine::Operation

Defined in:

pyramid/virtual_machine/operation.cr

Enum Members

NOOP = 0_u8
JUMP = 1_u8
PEEK = 3_u8
PUSH = 16_u8
POP = 5_u8
EXIT = 15_u8
RETURN = 255_u8
CALL = 202_u8
JUMP_IF_TRUE = 31_u8
JUMP_IF_FALSE = 32_u8
COMPARE = 220_u8
SWAP = 2_u8
RSWP = 34_u8
ISWP = 226_u8
DEC = 4_u8
ADD = 6_u8
SUB = 8_u8
MUL = 11_u8
DIV = 12_u8
PRINT = 14_u8
TEXT = 10_u8
STORE = 64_u8
FETCH = 60_u8
AND = 77_u8
OR = 78_u8
NOT = 93_u8

Instance Method Summary

Instance Method Detail

def add? #

[View source]
def and? #

[View source]
def call? #

[View source]
def compare? #

[View source]
def dec? #

[View source]
def div? #

[View source]
def exit? #

[View source]
def fetch? #

[View source]
def iswp? #

[View source]
def jump? #

[View source]
def jump_if_false? #

[View source]
def jump_if_true? #

[View source]
def mul? #

[View source]
def noop? #

[View source]
def not? #

[View source]
def or? #

[View source]
def peek? #

[View source]
def pop? #

[View source]
def print? #

[View source]
def push? #

[View source]
def return? #

[View source]
def rswp? #

[View source]
def store? #

[View source]
def sub? #

[View source]
def swap? #

[View source]
def text? #

[View source]