m68kdis - disassemble Motorola 68000 family object code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dashie der otter edf342d8aa
I don't know
1 year ago
MAC Initial checkout 1 year ago
.gitignore Initial checkout 1 year ago
Makefile Initial checkout 1 year ago
README Initial checkout 1 year ago
addr.h Initial checkout 1 year ago
afline.c Initial checkout 1 year ago
dis.c Fix some warnings 1 year ago
dis.h Add missing extern declaration 1 year ago
fgen.c Initial checkout 1 year ago
hex.c Initial checkout 1 year ago
inst1.c Initial checkout 1 year ago
inst2.c Fix some warnings 1 year ago
m68kdis.1 Initial checkout 1 year ago
main.c I don't know 1 year ago
pgen.c Initial checkout 1 year ago
utils.c Fix some warnings 1 year ago
wierd Initial checkout 1 year ago

README

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