public interface Disassembler
| Modifier and Type | Method and Description |
|---|---|
DisassembledInstruction |
disassemble(int memoryPosition)
Dissassemble one instruction at specific location.
|
int |
getNextInstructionPosition(int memoryPosition)
Returns an address in the memory of the next instruction, that is
followed by specified location.
|
DisassembledInstruction disassemble(int memoryPosition) throws InvalidInstructionException
memoryPosition - Memory address where to begin disassembling.InvalidInstructionException - when instruction coul not be disassembledint getNextInstructionPosition(int memoryPosition)
throws IndexOutOfBoundsException
memoryPosition - The memory location of the instructionIndexOutOfBoundsException - when memory location exceeds the boundsCopyright © 2017. All rights reserved.