hasmer
Public Member Functions | Properties | List of all members
Hasmer.HbcInstruction Class Reference

Represents an instruction in Hermes bytecode. More...

Public Member Functions

string ToDisassembly (HbcFile file)
 Converts the instruction into a human-readable disassembly format used for debugging. More...
 

Properties

byte Opcode [get, set]
 The one-byte instruction opcode. More...
 
uint Offset [get, set]
 The offset of the instruction relative to the function definition. More...
 
uint Length [get, set]
 The total length of the instruction and its operands in bytes. More...
 
List< HbcInstructionOperandOperands [get, set]
 The operands passed to the instruction. More...
 

Detailed Description

Represents an instruction in Hermes bytecode.

Member Function Documentation

◆ ToDisassembly()

string Hasmer.HbcInstruction.ToDisassembly ( HbcFile  file)
inline

Converts the instruction into a human-readable disassembly format used for debugging.

Property Documentation

◆ Length

uint Hasmer.HbcInstruction.Length
getset

The total length of the instruction and its operands in bytes.

◆ Offset

uint Hasmer.HbcInstruction.Offset
getset

The offset of the instruction relative to the function definition.

◆ Opcode

byte Hasmer.HbcInstruction.Opcode
getset

The one-byte instruction opcode.

◆ Operands

List<HbcInstructionOperand> Hasmer.HbcInstruction.Operands
getset

The operands passed to the instruction.


The documentation for this class was generated from the following file: