![]() |
v6502
The MOS 6502 Virtual Machine and Toolchain Infrastructure
|
Instruction Disassembly. More...
Go to the source code of this file.
Functions | |
int | dis6502_isBranchOpcode (v6502_opcode opcode) |
Return YES if a given v6502_opcode reflects a branching instruction. | |
void | dis6502_stringForOpcode (char *string, size_t len, v6502_opcode opcode) |
Get the string representation of an opcode. | |
void | dis6502_stringForOperand (char *string, size_t len, v6502_address_mode opcode, uint8_t high, uint8_t low) |
Get the string representation of the operands in a given address mode. | |
void | dis6502_stringForInstruction (char *string, size_t len, v6502_opcode opcode, uint8_t high, uint8_t low) |
Get the complete string representation of an instruction line. | |
void | dis6502_deriveSymbolsForObjectBlob (as6502_symbol_table *table, ld6502_object_blob *blob) |
Create symbols in a as6502_symbol_table for all branch instructions in a given ld6502_object_blob that do not already have corresponding entries. | |
void | dis6502_deriveSymbolsForObject (ld6502_object *obj) |
Create symbols for all branch instructions that do not already have corresponding entries for all ld6502_object_blobs in a given ld6502_object. | |
int | dis6502_printAnnotatedInstruction (FILE *out, v6502_cpu *cpu, uint16_t address, as6502_symbol_table *table) |
Print, to file pointer, an address and byte annotated disassembled line of assembly at the given address on a given cpu. | |
Instruction Disassembly.