ben wrote:
My own entry
into the "microprocessor"
design fray was something I called the: C-FLEA
A very tiny/simple 16 bit CPU that was very optimal as a target for
my C compiler.
Never did see it to silicon, but did quite a few "virtual machines"
- this let me efficiently put C code into little cpus that were not
reasonable candidates for higher level,languages.
Where?
I've recently posted much of the source code I've written over the
years in a "Retirement project" section of my site. Various related
documents and executables can be had from the packages in my main
downloads, and at "Daves Old Computers".
If you are interested in the C-FLEA CPU - the best place to see/try it is
DVM (Dunfield Virtual Machine) this is a little VM I put together
- available at the above locations.
Here is a bit on information I put together about my compiler (Micro-C)
with C-FLEA/DVM:
(Sorry if spaces get munged - can't seem to post a simple "spaced" text
document on must sites these days)
My compiler is known for making small executables. One of the most common
comments I received about it was "how can it make such small programs?".
Here are the DVM application file sizes at the time of this writing:
3,281 CC.DVM - Compile command
6,320 MCP.DVM - Micro-C preprocessor
17,440 MCCDVM.DVM - Micro-C compiler
4,064 MCODVM.DVM - Micro-C optimizer
1,210 MCCILIB.DVM - Replaces calls to internal library
4,675 SLINK.DVM - Source linker
8,335 ASMDVM.DVM - DVM assembler
1,488 MCCVT.DVM - Convert .HEX from ASM into .DVM
8,656 EDT.DVM - My EDT editor
5,415 VLT.DVM - My large text file viewer
6,560 BASIC.DVM - My "BASIC" sample program
Subtract 128 bytes from each of the above sizes because the free demo
.DVMs have an integrated protection message.
And here are the same program compiled with my PC/DOS compiler:
4,651
CC.COM
13,900 MCP.EXE \
24,258 MCCDVM.EXE > As Micro-C was designed to be easily
12,792
MCODVM.COM > portable, these tools make very little
3,479
MCCILIB.COM > use of library functions.
12,274 SLINK.EXE /
17,650 ASMDVM.EXE
4,361
MCCVT.COM
17,154 EDT.EXE
7,444
VLT.COM
12,115 BASIC.EXE
Dave Dunfield -
https://dunfield.themindfactory.com