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
11 months ago
MAC Initial checkout 11 months ago
.gitignore Initial checkout 11 months ago
Makefile Initial checkout 11 months ago
README Initial checkout 11 months ago
addr.h Initial checkout 11 months ago
afline.c Initial checkout 11 months ago
dis.c Fix some warnings 11 months ago
dis.h Add missing extern declaration 11 months ago
fgen.c Initial checkout 11 months ago
hex.c Initial checkout 11 months ago
inst1.c Initial checkout 11 months ago
inst2.c Fix some warnings 11 months ago
m68kdis.1 Initial checkout 11 months ago
main.c I don't know 11 months ago
pgen.c Initial checkout 11 months ago
utils.c Fix some warnings 11 months ago
wierd Initial checkout 11 months 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