Related articles |
---|
Creating a compiler for a new device: where to start? akoch@rbg.informatik.tu-darmstadt.de (Andreas Koch) (2001-04-26) |
Re: Creating a compiler for a new device: where to start? nbridges@interlog.com (Neal Bridges) (2001-05-07) |
From: | Andreas Koch <akoch@rbg.informatik.tu-darmstadt.de> |
Newsgroups: | comp.compilers |
Date: | 26 Apr 2001 21:07:06 -0400 |
Organization: | Technische Universitaet Darmstadt |
Keywords: | question, comment |
Posted-Date: | 26 Apr 2001 21:07:06 EDT |
Hi,
i am thinking about assembling a small hobby computer, based on a
microcontroller. This controller can only execute code in ROM, so i
will have to create an interpreter in ROM and execute apps i load into
external RAM.
So i have to:
-write an interpreter on the chip, that executes some
simple (about 4k commands space for the interpreter)
meta-language (probably ASM like)
-write an compiler (Win PC based) that turns source code
(preferably C) to the meta language
Any hints how to get startet with this? I am an quite experienced
programmer, but i guess there have to be some code or tools i can use
for that, to avoid building all from scrap?
Andreas
[Surely you aren't the first person to write software for whatever
your chip is. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.