Jay West wrote:
> I am looking for full source code for a *VERY* tiny C compiler written in
> any common assembly language. I'm much more concerned with size of the
> compiler than functionality/features. Can anyone suggest one or know where
> the source might by laying around? I thought I had heard ages ago about some
> microcomputer C compilers being well under 32K.
>
> As to how this relates to classiccmp... well.. *blush* I'm actually thinking
> of porting C to the HP2100. The whole thing has to fit in 32K of ram,
> including drivers, etc. Not sure what OS it will be placed on, perhaps
> HP-IPL/OS. Might make a simple native OS for it or might even make it
> standalone, not sure yet.
C requires a stack pointer and a index register.Offhand I don't think
your hardware supports that.
The Honeywell H316 had a high level langauge PL516
that might be easyier to port.
http://www.series16.adrianwise.co.uk/
The PDP-8 is said to have a pascal compiler, that may
be another idea.
Ben.
Received on Fri Oct 10 2003 - 14:00:32 BST