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)
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
(T1, T2)<String, Int32> | Disassembly string and count of bytes in the instruction as a tuple |