Disassembler FAQ

Donald Whisnant dewhisna at ix.netcom.com
Sun Jun 30 17:44:53 GMT 1996


--=====================_836171116==_
Content-Type: text/plain; charset="us-ascii"

I'm starting a FAQ list of questions asked concerning the M6811 disassembler.
At the end of this message is the start of the FAQ ... So if anyone has any
questions/info to add to this, send it this way... ....  Eventually I'll get
around to writing an actual manual for this program ...

Donald Whisnant
dewhisna at ix.netcom.com


--=====================_836171116==_
Content-Type: text/plain; charset="us-ascii"

M6811 Disassembler FAQ

Q. Can I use the labels in a control file to specify things like
  immediate data values (like using equates in some assemblers) so that they
  will be substituted for the hex value throughout the program, not just as
  subroutine/jump labels? I have not really tried to fiddle, Thought I'd ask
  first.

A. YEP!  That is the purpose of the "label" command -- it allows automatic
  "beautifying" of code....  As you figure out what things are and start
  assigning them meaningful names, you just add "label" commands and re-run
  the disassembler and voila -- the source is automatically updated...


Q. Can I somehow capture easily the warnings generated in disassembly? I
  noticed a couple flying by in the process, but not a lot shows up in the
  .dis file.

A. Yep! ... The program uses STDIO, so use "m6811dis xxxx.ctl >xxxx.log"
  this will output the warnings, etc into the file xxxx.log...  The
  disassembler tries to keep the .dis file as clean as possible so that it
  re-assemble later, though it will flag some lines using "comments" --
  which the assembler will later ignore.



--=====================_836171116==_--




More information about the Diy_efi mailing list