Related articles |
---|
Compiler for accumulator-based processor Jean-Christophe.Le_Lann@irisa.fr (Jean-Christophe Le Lann) (1997-11-20) |
Re: Compiler for accumulator-based processor ssolyanik@icdc.com (Sergey Solyanik) (1997-11-23) |
Re: Compiler for accumulator-based processor rpgurd@archelon.com (Preston Gurd) (1997-11-23) |
Re: Compiler for accumulator-based processor ssmitch@erols.com (Stephen S. Mitchell) (1997-11-29) |
Re: Compiler for accumulator-based processor amoroso@mclink.it (1997-11-29) |
Re: Compiler for accumulator-based processor jmccarty@sun1307.spd.dsccc.com (1997-12-05) |
From: | Jean-Christophe Le Lann <Jean-Christophe.Le_Lann@irisa.fr> |
Newsgroups: | comp.compilers |
Date: | 20 Nov 1997 22:32:13 -0500 |
Organization: | IRISA, Campus de Beaulieu, 35042 Rennes Cedex, FRANCE |
Keywords: | architecture, question |
Hi,
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
available software
Thanks in advance !
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jean-Christophe LE LANN.
IRISA/INRIA. Projet EPATR. Bureau E218
Campus de Beaulieu F-35042 Rennes Cedex.
E-mail : jlelann@irisa.fr 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
locations. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.