disassemble()
method disassembles a single instruction from binary code. It accepts a byte array containing the machine code, an index into the array, and the base PC (which is needed for disassembling PC-relative operands).
@param base the base PC address of the beginning of the binary code array
@param buffer the binary code
@param index an index into the binary code array from which to disassemble an instruction
@return a new Instr
instance representing the instruction at that address, if the machinecode is a valid instruction
@throws InvalidInstruction if the machine code at that address is not a valid instruction
|
|