Struct Instruction
A single P-Code instruction with opcode, lexical level, and argument.
public readonly record struct Instruction : IEquatable<Instruction>
- Implements
- Inherited Members
Constructors
Instruction(Opcode, int, int)
A single P-Code instruction with opcode, lexical level, and argument.
public Instruction(Opcode Op, int Level, int Argument)
Parameters
OpOpcodeThe operation code.
LevelintThe lexical level argument.
ArgumentintThe instruction argument or address.
Properties
Argument
The instruction argument or address.
public int Argument { get; init; }
Property Value
Level
The lexical level argument.
public int Level { get; init; }
Property Value
Op
The operation code.
public Opcode Op { get; init; }