26 #ifndef v6502_reverse_h 27 #define v6502_reverse_h 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 tha...
Definition: reverse.c:412
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.
Definition: reverse.c:353
int dis6502_isBranchOpcode(v6502_opcode opcode)
Return YES if a given v6502_opcode reflects a branching instruction.
Definition: reverse.c:61
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.
Definition: reverse.c:403
void dis6502_stringForOpcode(char *string, size_t len, v6502_opcode opcode)
Get the string representation of an opcode.
Definition: reverse.c:80
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 addr...
Definition: reverse.c:34
v6502_address_mode
Address Modes.
Definition: cpu.h:279
The assembler's representation of an object file in memory.
Definition: object.h:47
Assembly language parsing.
Virtual CPU Object.
Definition: cpu.h:35
Binary object management.
The assembler's per-object symbol table structure, which holds all symbols.
Definition: symbols.h:71
A single blob of typeless object data.
Definition: object.h:36
void dis6502_deriveSymbolsForObject(ld6502_object *obj)
Create symbols for all branch instructions that do not already have corresponding entries for all ld6...
Definition: reverse.c:437
v6502_opcode
Instruction Set.
Definition: cpu.h:58