Re: A83: 83 Disassembler


[Prev][Next][Index][Thread]

Re: A83: 83 Disassembler




> Correctly dissassembling code in all cases without running it is virtually
> impossible.  Two very common techniques in large assembler programs are to
> throw data in between routines and to use jump tables.  Detecting data
> between routines can be difficult, without keeping track of addresses, as
> noted below.  And jump tables make it almost impossible to keep track of
> which routines are called.  A good way to dissassemble would be to have an
> emulator dissassemble as it goes, and dump the output when it quits.  That
> would work for both the ROM and programs.  It would be interactive, but
> probably more effective than an interactive dissassembler, because all the
> user would have to do is run the program normally, and make sure most
> everything is used.  Might be a nice option for VTI some day.  Especially
> for the 83+ and 89 apps.

You can also let the 'emulator' work through the entire program, keeping up
which conditional jumps it has already taken or not yet taken and which
routines it already has worked through...

Well, but it would be a hell of a job.
I wouldn't want to do it.


~Grauw


--
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<
          email me: laurensh@geocities.com or ICQ: 10196372
             visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<



Follow-Ups: References: