|Compiler for accumulator-based processor Jean-Christophe.Le_Lann@irisa.fr (Jean-Christophe Le Lann) (1997-11-20)|
|Re: Compiler for accumulator-based processor email@example.com (Sergey Solyanik) (1997-11-23)|
|Re: Compiler for accumulator-based processor firstname.lastname@example.org (Preston Gurd) (1997-11-23)|
|Re: Compiler for accumulator-based processor email@example.com (Stephen S. Mitchell) (1997-11-29)|
|Re: Compiler for accumulator-based processor firstname.lastname@example.org (1997-11-29)|
|Re: Compiler for accumulator-based processor email@example.com (1997-12-05)|
|From:||Sergey Solyanik <firstname.lastname@example.org>|
|Date:||23 Nov 1997 19:48:44 -0500|
|Organization:||Bentley Systems, Inc.|
Jean-Christophe Le Lann wrote:
> I don't know much about compilers but I'd like to build (or get) one
> to produce code for a very simple 8-bit microprocessor named Hercules
> (originally designed by Pr. N.Wirth for educationnal purpose).
> It is based on a single register ("accumulator").
Try the Small C Compiler. There was a book that included source code
for it, and code generator for Intel-8080, which was accumulator-based
CPU. This compiler is very primitive, very easy to retarget within
architecture and provides very good playground.
The book is most likely out of print, but may still be in many
libraries, and the source is in public domain and is widely available
on the 'Net.
Bentley Systems, Inc
[It's long out of print, see the FAQ for the reference. -John]
Return to the
Search the comp.compilers archives again.