Re: Best tools for writing an assembler?

hu47121@usenet.kitty.sub.org (Hannah)
Tue, 25 Feb 2014 00:43:13 +0000 (UTC)

          From comp.compilers

Related articles
[13 earlier articles]
Re: Best tools for writing an assembler? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2014-02-24)
Re: Best tools for writing an assembler? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2014-02-24)
Re: Best tools for writing an assembler? lkrupp@pssw.com (Louis Krupp) (2014-02-24)
Re: Best tools for writing an assembler? ivan@ootbcomp.com (Ivan Godard) (2014-02-24)
Re: Best tools for writing an assembler? ivan@ootbcomp.com (Ivan Godard) (2014-02-24)
Re: Best tools for writing an assembler? james.harris.1@gmail.com (James Harris) (2014-02-24)
Re: Best tools for writing an assembler? hu47121@usenet.kitty.sub.org (2014-02-25)
Re: Best tools for writing an assembler? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2014-02-25)
Re: Best tools for writing an assembler? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2014-02-25)
Re: Best tools for writing an assembler? rpw3@rpw3.org (2014-02-25)
Re: Best tools for writing an assembler? walter@bytecraft.com (Walter Banks) (2014-02-27)
Re: Best tools for writing an assembler? noitalmost@cox.net (noitalmost) (2014-02-27)
Re: Best tools for writing an assembler? gneuner2@comcast.net (George Neuner) (2014-03-01)
[2 later articles]
| List of all articles for this month |
From: hu47121@usenet.kitty.sub.org (Hannah)
Newsgroups: comp.compilers
Date: Tue, 25 Feb 2014 00:43:13 +0000 (UTC)
Organization: The Pond
References: 14-02-018 14-02-025 14-02-027 14-02-033
Keywords: assembler, tools, comment
Posted-Date: 24 Feb 2014 22:18:10 EST



Hi!


glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:


Actually, our moderator wrote:


>-- glen
>[Variable length instructions aren't that hard. You start by assuming
>everything will be the long form, then iterate over the code a few
>times shrinking what you can. That isn't always perfectly optimal
>(which is known to be NP complete), but it's pretty close. -John]


Can't one also go the other way round: Start in the short(est) form and
lengthen as long as needed?


Hannah.
[Shrinking long versions has the advantage that the code is always valid,
even if you miss a few. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.