Skip to content

Instantly share code, notes, and snippets.

@pak21
Created July 11, 2017 20:29
Show Gist options
  • Save pak21/500ee4b260d79ace0a940f27fd86851a to your computer and use it in GitHub Desktop.
Save pak21/500ee4b260d79ace0a940f27fd86851a to your computer and use it in GitHub Desktop.
diff --git a/z80/z80_ops.c b/z80/z80_ops.c
index aba785c8..670d2687 100755
--- a/z80/z80_ops.c
+++ b/z80/z80_ops.c
@@ -332,6 +332,7 @@ z80_do_opcodes( void )
END_CHECK
end_opcode:
+ printf("%04x\n", PC);
PC++; R++;
switch(opcode) {
#include "z80/opcodes_base.c"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment