Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CALLInst ¶
type CALLInst struct { instructions.Instruction CpIndex int }
CALLInst is responsible for get the operand and call the lib function.
func (*CALLInst) Execute ¶
func (i *CALLInst) Execute(cp *cp.CP, vars *vars.Vars, st *stack.Stack, stdin instructions.StdinInterface, stdout instructions.StdoutInterface) error
Execute receives the context and runs the opcode.
func (*CALLInst) FetchOperands ¶
func (i *CALLInst) FetchOperands(fetch instructions.FetchOperandsImplementation) error
FetchOperands gets the opcode operands.
Click to show internal directories.
Click to hide internal directories.