|Compiler for accumulator-based processor Jean-Christophe.Le_Lann@irisa.fr (Jean-Christophe Le Lann) (1997-11-20)|
|Re: Compiler for accumulator-based processor firstname.lastname@example.org (Sergey Solyanik) (1997-11-23)|
|Re: Compiler for accumulator-based processor email@example.com (Preston Gurd) (1997-11-23)|
|Re: Compiler for accumulator-based processor firstname.lastname@example.org (Stephen S. Mitchell) (1997-11-29)|
|Re: Compiler for accumulator-based processor email@example.com (1997-11-29)|
|Re: Compiler for accumulator-based processor firstname.lastname@example.org (1997-12-05)|
|From:||Jean-Christophe Le Lann <Jean-Christophe.Le_Lann@irisa.fr>|
|Date:||20 Nov 1997 22:32:13 -0500|
|Organization:||IRISA, Campus de Beaulieu, 35042 Rennes Cedex, FRANCE|
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").
I guess many of you have designed such a compiler (from C or Pascal to
assembly language). So I'd be interessted in any information,advice or
Thanks in advance !
Jean-Christophe LE LANN.
IRISA/INRIA. Projet EPATR. Bureau E218
Campus de Beaulieu F-35042 Rennes Cedex.
E-mail : email@example.com Tel : 02.99.84.75.97
[It's just like any other processor, except that the register allocation
is really easy. One approach is to treat intermediate values as a stack,
put the top of the stack in the accumulator, and spill to fixed memory
Return to the
Search the comp.compilers archives again.