pub enum OperandKind {
Show 24 variants
U8,
S8,
U16,
S32,
Argc8,
Argc16,
Local8,
Local16,
Arg8,
Arg16,
String,
List,
Object,
Property,
Function,
Enum,
Branch,
TableOffset,
Metaclass8,
Metaclass16,
FunctionSet8,
FunctionSet16,
FunctionIndex8,
FunctionIndex16,
}Expand description
The kind and size of one fixed operand.
Variants§
U8
Unsigned 8-bit number.
S8
Signed 8-bit number.
U16
Unsigned 16-bit number.
S32
Signed 32-bit number.
Argc8
Argument count, 8 bits.
Argc16
Argument count, 16 bits.
Local8
Local variable number, 8 bits.
Local16
Local variable number, 16 bits.
Arg8
Parameter number, 8 bits.
Arg16
Parameter number, 16 bits.
String
Constant pool offset of a string, 32 bits.
List
Constant pool offset of a list, 32 bits.
Object
Object ID, 32 bits.
Property
Property ID, 16 bits.
Function
Code pool offset of a function, 32 bits.
Enum
Enumerator ID, 32 bits.
Branch
Signed 16-bit branch offset, relative to the operand’s own address.
TableOffset
Unsigned 16-bit offset to a named argument table, relative to the operand’s own address.
Metaclass8
Index into the image’s metaclass dependency list, 8 bits.
Metaclass16
Index into the image’s metaclass dependency list, 16 bits.
FunctionSet8
Index into the image’s function set dependency list, 8 bits.
FunctionSet16
Index into the image’s function set dependency list, 16 bits.
FunctionIndex8
Index of a function within its function set, 8 bits.
FunctionIndex16
Index of a function within its function set, 16 bits.