mirror of
https://github.com/Wack0/IFPSTools.NET.git
synced 2025-06-18 10:45:36 -04:00
30 lines
922 B
C#
30 lines
922 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace IFPSLib.Emit
|
|
{
|
|
/// <summary>
|
|
/// Type of a PascalScript operand at the bytecode level.
|
|
/// </summary>
|
|
internal enum BytecodeOperandType : byte
|
|
{
|
|
/// <summary>
|
|
/// Operand refers to a local or global variable, or an argument.
|
|
/// </summary>
|
|
Variable,
|
|
/// <summary>
|
|
/// Operand refers to an immediate typed constant.
|
|
/// </summary>
|
|
Immediate,
|
|
/// <summary>
|
|
/// Operand refers to an element of an indexed variable, where the index is specified as an immediate 32-bit constant.
|
|
/// </summary>
|
|
IndexedImmediate,
|
|
/// <summary>
|
|
/// Operand refers to an element of an indexed variable, where the index is specified as a local or global variable, or an argument.
|
|
/// </summary>
|
|
IndexedVariable
|
|
}
|
|
}
|