m68kdis - disassemble Motorola 68000 family object code
Přejít na soubor
2018-11-15 09:56:31 +01:00
MAC Initial checkout 2018-11-15 08:44:17 +01:00
.gitignore Initial checkout 2018-11-15 08:44:17 +01:00
addr.h Initial checkout 2018-11-15 08:44:17 +01:00
afline.c Initial checkout 2018-11-15 08:44:17 +01:00
dis.c Fix some warnings 2018-11-15 08:56:18 +01:00
dis.h Add missing extern declaration 2018-11-15 08:52:52 +01:00
fgen.c Initial checkout 2018-11-15 08:44:17 +01:00
hex.c Initial checkout 2018-11-15 08:44:17 +01:00
inst1.c Initial checkout 2018-11-15 08:44:17 +01:00
inst2.c Fix some warnings 2018-11-15 08:56:18 +01:00
m68kdis.1 Initial checkout 2018-11-15 08:44:17 +01:00
main.c I don't know 2018-11-15 09:56:31 +01:00
Makefile Initial checkout 2018-11-15 08:44:17 +01:00
pgen.c Initial checkout 2018-11-15 08:44:17 +01:00
README Initial checkout 2018-11-15 08:44:17 +01:00
utils.c Fix some warnings 2018-11-15 08:56:18 +01:00
wierd Fix help commands processors and wierd exec bit 2018-11-15 08:50:22 +01:00

m68kdis - disassemble Motorola 68000 family object code

m68kdis is a disassembler for the Motorola 68000 family of cpu chips
(currently up to the 68030).  The disassembler attempts to discern
between the instruction and data portions of an object code file.

Make sure you use an ANSI C compiler with full prototypes.  Then type
``make'' to build m68kdis.  If you want the Macintosh stuff, run make
in the MAC directory also (you will need perl).

There are two methods provided for debugging.  The script ``wierd'' can
be used; it seeks to point out LINK, UNLK, and RTS instructions that
ended up being data.  If you think these were so interpreted
incorrectly, you can use the -bad (which writes to standard error) or
-all options to help figure this out.

MAC-SPECIFIC STUFF
------------------
There's a file for A-line instructions for the Macintosh (MAC/mac.a).
It undoubtedly is not complete and/or accurate for your code.  Often
code that uses an A-line instruction not currently known will result in
problems spotted by ``wierd''.  ``mac.0189'' is the file to add new
instructions to (the lines must match /^a[0189]/).  ``mac.odd'' is for
instructions that contradict mac.0189.  After editing, rerun make.

Four scripts, ``makes'', ``rftos.pl'', ``makeb.pl'', and ``maken.pl'',
and the C program ``rf'' are provided to make it easier to format the
output for a resource fork in a more Mac-friendly fashion.  A resource
fork should be named <stem>.rf and ``makes'' should be called with the
lone argument <stem>.

Suggestions and questions welcome.

Chris
Christopher_Phillips@pe.utexas.edu