2015-06-18 21:18:36 +00:00
|
|
|
Universal Disassembler program for 8-bit microprocessors
|
2015-06-18 21:24:59 +00:00
|
|
|
|
|
|
|
This is a simple disassembler for various 8-bit microprocessors. It
|
|
|
|
reads a binary file specified on the command line and produces a
|
|
|
|
disassembly. It requires Python 3. It has been tested on Linux but
|
|
|
|
should work on any platform that supports Python. See the source code
|
|
|
|
for more details.
|
|
|
|
|
|
|
|
The following CPUs are either supported or planned to be supported:
|
|
|
|
|
|
|
|
CPU Status
|
|
|
|
--- ------
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-21 20:53:47 +00:00
|
|
|
1802 possible
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-18 23:04:47 +00:00
|
|
|
6502 done
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-21 20:53:47 +00:00
|
|
|
65816 possible
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-23 00:18:04 +00:00
|
|
|
65C02 done
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-18 23:04:47 +00:00
|
|
|
6800 done
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-07-04 03:58:01 +00:00
|
|
|
6809 done (incomplete)
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-21 01:59:07 +00:00
|
|
|
6811 done
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-23 03:10:27 +00:00
|
|
|
8080 done
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-07-05 17:30:58 +00:00
|
|
|
8051 done (incomplete)
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-21 20:53:47 +00:00
|
|
|
F8 possible
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-07-04 03:58:01 +00:00
|
|
|
Z80 done (incomplete)
|
2015-06-18 21:24:59 +00:00
|
|
|
|
2015-06-18 23:32:33 +00:00
|
|
|
|
|
|
|
|
2015-06-18 21:24:59 +00:00
|
|
|
usage: udis.py [-h] [-c CPU] [-n] [-a ADDRESS] [-i] filename
|
|
|
|
|
|
|
|
positional arguments:
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-18 21:24:59 +00:00
|
|
|
filename Binary file to disassemble
|
|
|
|
|
|
|
|
optional arguments:
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-18 21:24:59 +00:00
|
|
|
-h, --help show this help message and exit
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-18 21:24:59 +00:00
|
|
|
-c CPU, --cpu CPU Specify CPU type (defaults to 6502)
|
2015-06-18 23:32:33 +00:00
|
|
|
|
|
|
|
-n, --nolist Don't list instruction bytes (make output suitable for assembler)
|
|
|
|
|
2015-06-18 21:24:59 +00:00
|
|
|
-a ADDRESS, --address ADDRESS
|
|
|
|
Specify decimal starting address (defaults to 0)
|
2015-06-18 23:32:33 +00:00
|
|
|
|
2015-06-18 21:24:59 +00:00
|
|
|
-i, --invalid Show invalid opcodes as ??? rather than constants
|