> Can someone point me to a document that describes the Dragonball 
> machine codes (I have the assembler op-codes, what I need are the
> machine codes that the assembler codes map to).  I've got lots of
> docs but not one gives me a nice list of machine codes and how they
> map to opcodes.
>
> E.g., I need a list that tells me that MOVEA maps to <hex value>.

For some opcodes that kind of thing is easy (e.g. NOP maps to 4E71, RTS to
4E75), but most opcodes are built bit by bit depending on the addressing
mode. Which means that, except for opcodes which don't take parameters, you
can't say that "MOVE" maps to 0xNNNN.

I recommend that you use a disassembler (for exemple the unsupported Palm OS
Debugger on the Mac, or something like Insider on the Palm) and browse the
assembly code. Get a good book on the Motorola 68000 family of processors
and remember that the 68k is big-endian, and that parameters to opcodes are
SOURCE,DESTINATION (whereas Intel processor uses a DESTINATION,SOURCE
notation). E.g. move.w d0,d7 puts the lower 16 bits of d0 in d7.

--
Florent Pillet, Code Segment       [EMAIL PROTECTED]

BrainForest, outlines and action items for Palm OS handhelds
   -> Aportis Technologies Corp.     http://www.aportis.com/
PowerGlot, the premier localization tool for Mac OS software
   -> PowerGlot Software           http://www.powerglot.com/
Palm Buddy, MacOS active link companion for PalmOS handhelds
   -> ...and other tools... http://perso.wanadoo.fr/fpillet/

Reply via email to