|[2 earlier articles]|
|Re: wanted: good references for 86 code generation email@example.com (1998-01-24)|
|Re: wanted: good references for 86 code generation firstname.lastname@example.org (Sergey Solyanik) (1998-01-30)|
|Re: wanted: good references for 86 code generation dgay@barnowl.CS.Berkeley.EDU (1998-02-01)|
|Re: wanted: good references for 86 code generation email@example.com (Michael Hobbs) (1998-02-01)|
|Re: wanted: good references for 86 code generation firstname.lastname@example.org (1998-02-01)|
|Re: wanted: good references for 86 code generation email@example.com (1998-02-03)|
|Re: wanted: good references for 86 code generation firstname.lastname@example.org (1998-02-07)|
|From:||email@example.com (Ben Sloman)|
|Date:||7 Feb 1998 13:59:03 -0500|
|Organization:||Hewlett-Packard Laboratories, Bristol, England|
|Keywords:||386, code, UNCOL|
Besides the Intel manuals, you might want to try perusing the source
to an existing x86 code generator.
TenDRA is a free, public domain C/C++ compiler and checker
technology based around the TDF/ANDF intermediate format. The
system includes C and C++ front ends, and code generators for
several architectures including x86. It seems that the
source is available under a very free licence (much freer than GPL).
The TDF representation is documented extensively, and I've found the
C source for the code generators easy to read and to modify.
The URL, if you want to check it out, is http://alph.dra.hmg.gb/TenDRA/ .
PS. Those of you who followed the OSF ANDF(*) story might be interested to
see what has happened to the underlying technology, and even to poke around
(*) ANDF = Architecture Neutral Distribution Format
Chris Dollin (firstname.lastname@example.org) wrote:
: We're considering writing a code generator targetting the 8086 machines.
: Can anyone suggest good reference material for the instruction set and
: architecture (I'd go for the Intel one unless otherwise advised), and
: are there any books/papers with helpful advice, war stories, and
Ben Sloman email: email@example.com
phone: +44(0)117 9228946 Hewlett Packard Laboratories
fax: +44(0)117 9228925 Filton Road, Bristol, BS12 6QZ, UK
Return to the
Search the comp.compilers archives again.