Table of Contents

Enum Opcode

Namespace
Pl0.Core
Assembly
Pl0.Core.dll

P-Code operation codes understood by the virtual machine.

public enum Opcode

Fields

Cal = 4

Call a procedure.

Int = 5

Allocate stack space.

Jmp = 6

Unconditional jump.

Jpc = 7

Conditional jump based on top-of-stack.

Lit = 0

Load literal constant onto the stack.

Lod = 2

Load a variable from the stack frame.

Opr = 1

Execute arithmetic, comparison, or return operations.

Sto = 3

Store a value into a stack frame variable.