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:
bf29572
)
indir jmp disassembler bug fix.
author
astoria-d
<astoria-d@mail.goo.ne.jp>
Sun, 18 Sep 2016 08:10:13 +0000
(17:10 +0900)
committer
astoria-d
<astoria-d@mail.goo.ne.jp>
Sun, 18 Sep 2016 08:10:13 +0000
(17:10 +0900)
emulator/debug.c
patch
|
blob
|
history
diff --git
a/emulator/debug.c
b/emulator/debug.c
index
06b6c71
..
3abd9eb
100644
(file)
--- a/
emulator/debug.c
+++ b/
emulator/debug.c
@@
-272,8
+272,8
@@
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)\n", pc,
- dbg_get_byte(pc), dbg_get_byte(pc + 1),
+ printf("%04x: %02x %02x
%02x
%-5s ($%04x)\n", pc,
+ dbg_get_byte(pc), dbg_get_byte(pc + 1),
dbg_get_byte(pc + 2),
mnemonic, dbg_get_short(pc + 1));
break;
case ADDR_MODE_IMP: