Method Disassemble
Disassemble(ReadOnlySpan<byte>, ulong, int)
Disassembles an instruction
public (LazyEncodedString Disassembly, nuint InstructionByteCount) Disassemble(ReadOnlySpan<byte> instruction, ulong pc, int stringBufferSize = 1024)
Parameters
instruction
ReadOnlySpan<byte>Start of instruction stream
pc
ulongProgram counter address to assume for the instruction disassembly
stringBufferSize
intSize of string buffer to use for the disassembly (default=1024)
Returns
- (LazyEncodedString Disassembly, nuint InstructionByteCount)
Disassembly string and count of bytes in the instruction as a tuple