Class Disassembler
java.lang.Object
org.applecommander.disassembler.api.Disassembler
Disassembler is the primary interface to disassemble a program.
An overview:
Map<Integer,String> labels = new HashMap<>();
List<Instruction> assembly = Disassembler.with(code)
.startingAddress(startAddress)
.bytesToSkip(offset)
.bytesToDecode(length)
.use(instructionSet)
.section(libraries)
.decode(labels);
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd support for "$801" and "0x801" instead of just decimal like 2049.Returns the label groups defined in theaddresses.ini
file.static Disassembler.Builder
with
(byte[] code) Initiate the disassembly.
-
Constructor Details
-
Disassembler
public Disassembler()
-
-
Method Details
-
labelGroups
Returns the label groups defined in theaddresses.ini
file. -
with
Initiate the disassembly. -
convert
Add support for "$801" and "0x801" instead of just decimal like 2049.
-