class Instruction

Defined in:

instruction.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : InstructionType, args : Array(String) = [] of String) #

[View source]

Instance Method Detail

def args : Array(String) #

Arguments that the instruction requires to execute properly. For example, PUSH needs an argument of what to push onto the stack.


[View source]
def args=(args : Array(String)) #

Arguments that the instruction requires to execute properly. For example, PUSH needs an argument of what to push onto the stack.


[View source]
def type : InstructionType #

[View source]
def type=(type : InstructionType) #

[View source]