diff options
author | Mike Pavone <pavone@retrodev.com> | 2012-12-28 15:34:24 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2012-12-28 15:34:24 -0800 |
commit | bd5260222653289a71a49fa5093e33204112b3e0 (patch) | |
tree | bf918791b93d99e05ea9c0e528c79464b089c985 /dis.c | |
parent | 29c715899ae4bc34f9fca29145ce3d6879ce4fda (diff) |
Fix decoding of Scc
Diffstat (limited to 'dis.c')
-rw-r--r-- | dis.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -26,7 +26,7 @@ deferred * defer(uint32_t address, deferred * next) if (is_visited(address)) { return next; } - printf("deferring %X\n", address); + //printf("deferring %X\n", address); deferred * d = malloc(sizeof(deferred)); d->address = address; d->next = next; @@ -84,8 +84,8 @@ int main(int argc, char ** argv) next = m68k_decode(encoded, &instbuf, address); address += (next-encoded)*2; encoded = next; - m68k_disasm(&instbuf, disbuf); - printf("%X: %s\n", instbuf.address, disbuf); + //m68k_disasm(&instbuf, disbuf); + //printf("%X: %s\n", instbuf.address, disbuf); if (instbuf.op == M68K_ILLEGAL || instbuf.op == M68K_RTS || instbuf.op == M68K_RTE) { break; } else if (instbuf.op == M68K_BCC || instbuf.op == M68K_DBCC || instbuf.op == M68K_BSR) { |