mirror of
https://github.com/jborza/emu6502.git
synced 2024-11-21 23:31:19 +00:00
disassembler outputs current line in hex
This commit is contained in:
parent
6df5c3f7e6
commit
6be44b3136
@ -4,7 +4,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
void disassemble_6502(byte* buffer, word pc) {
|
||||
printf("%04d ", pc);
|
||||
printf("%04X ", pc);
|
||||
byte* code = &buffer[pc];
|
||||
int bytes = 1;
|
||||
char op[128] = "";
|
||||
|
Loading…
Reference in New Issue
Block a user