Method Disassemble
Disassemble(ReadOnlySpan<Byte>, UInt64, Int32)
Disassembles an instruction
Declaration
public (string Disassembly, int InstructionByteCount) Disassemble(ReadOnlySpan<byte> instruction, ulong pc, int stringBufferSize = 1024)
Parameters
public (string Disassembly, int InstructionByteCount) Disassemble(ReadOnlySpan<byte> instruction, ulong pc, int stringBufferSize = 1024)
System.ReadOnlySpan<Byte> | instruction | Start of instruction stream |
UInt64 | pc | Program counter address to assume for the instruction disassembly |
Int32 | stringBufferSize | Size of string buffer to use for the disassembly (default=1024) |
Returns
System.ValueTuple<String, Int32> | Disassembly string and count of bytes in the instruction as a tuple |