The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: wkt@tuhs.org (Warren Toomey)
Subject: [Unix-jun72] status on disassembler
Date: Tue, 20 May 2008 17:39:07 +1000	[thread overview]
Message-ID: <20080520073907.GA87633@minnie.tuhs.org> (raw)
In-Reply-To: <20080520051628.379B75A525@remarque.org>

On Mon, May 19, 2008 at 10:16:28PM -0700, Doug Merritt wrote:
> Interim status on disassembler:
> My first approach to "temporary labels" (1f/1b, see Knuth) failed badly;
> if anyone has insights on how such things should be disassembled,
> please tell me; I'm still mentally going through various possible
> algorithms.

Doug, I was also halfway through a disassembler. I take a 2-pass approach.
On the 1st pass I collect interesting addresses, e.g. for jsrs, branches
etc. Then I allocate labels based on address order. Then on the second
pass I use the labels when printing. I'll send you a copy of the work
so far.

Cheers,
	Warren



  reply	other threads:[~2008-05-20  7:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-18 14:56 [Unix-jun72] Kernel built under V1 James A. Markevitch
2008-05-18 18:04 ` Tim Newsham
2008-05-20  5:16   ` [Unix-jun72] status on disassembler Doug Merritt
2008-05-20  7:39     ` Warren Toomey [this message]
2008-05-20 19:49     ` Tim Newsham
2008-05-21  7:44       ` Doug Merritt
2008-05-21  9:49         ` Brad Parker
2008-05-21 13:40         ` Brad Parker
2008-05-21 14:05         ` Brad Parker
2008-05-21 21:34         ` Tim Newsham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080520073907.GA87633@minnie.tuhs.org \
    --to=wkt@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).