OSDN Git Service
(root)
/
motonesemu
/
motonesemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9500b76
)
disassembler bug fix for addressing mode indirect
author
astoria-d
<astoria-d@mail.goo.ne.jp>
Mon, 25 Mar 2013 07:13:25 +0000
(16:13 +0900)
committer
astoria-d
<astoria-d@mail.goo.ne.jp>
Mon, 25 Mar 2013 07:13:25 +0000
(16:13 +0900)
emulator/debug.c
patch
|
blob
|
history
diff --git
a/emulator/debug.c
b/emulator/debug.c
index
edb7b52
..
fb4b367
100644
(file)
--- a/
emulator/debug.c
+++ b/
emulator/debug.c
@@
-239,7
+239,7
@@
void disasm(const char* mnemonic, int addr_mode, unsigned short pc) {
mnemonic, dbg_get_short(pc + 1));
break;
case ADDR_MODE_IND:
- printf("%04x: %02x %02x %-5s ($%04x)
, y
\n", pc,
+ printf("%04x: %02x %02x %-5s ($%04x)\n", pc,
dbg_get_byte(pc), dbg_get_byte(pc + 1),
mnemonic, dbg_get_short(pc + 1));
break;