Class PrintInstruction
Pops and prints the top stack value to console.
Inherited Members
Namespace: VM.Core.Instructions
Assembly: VM.dll
Syntax
public class PrintInstruction : Instruction
Constructors
PrintInstruction()
Pops and prints the top stack value to console.
Declaration
public PrintInstruction()
Methods
Execute(ExContext, FrameStack)
Executes the instruction with the given context.
Declaration
public override void Execute(ExContext context, FrameStack frames)
Parameters
Type | Name | Description |
---|---|---|
ExContext | context | The execution context |
FrameStack | frames | The frame stack |