Re: Compiler for accumulator-based processor

Sergey Solyanik <ssolyanik@icdc.com>
23 Nov 1997 19:48:44 -0500

          From comp.compilers

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)
| List of all articles for this month |
From: Sergey Solyanik <ssolyanik@icdc.com>
Newsgroups: comp.compilers
Date: 23 Nov 1997 19:48:44 -0500
Organization: Bentley Systems, Inc.
References: 97-11-110
Keywords: C, architecture

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.


Regards --


Sergey Solyanik
Software Developer


Bentley Systems, Inc


mailto:ssolyanik@icdc.com
[It's long out of print, see the FAQ for the reference. -John]




--


Post a followup to this message

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