Don Y wrote:
Exactly. And the code in that application is likely to be revised.
The code in your microwave oven, isn't!
Hey I still like the MECHANICAL microwave oven controls.
Great! Here are 256 bytes of ram. Design and implement
a LORAN-C position plotter in C. It has to process data in real
time (i.e. maybe 1.5 updates per second), run on a *3* MHz CPU
and you have 10KB for TEXT.
Did not the PDP8 do that in 4K? of memory.
see:
http://www.parse.com/~museum/pdp8/pdp8e/loranc.html
And, that's a "bountiful" work environment!
Doing decimal arithmetic in C sucks. As does trying
to pack
8 bools to a byte (and access them efficiently), etc. Loss
of the carry is probably the biggest single pisser in most HLLs.
Does any HLL's have access to the carry flag? A unsigned compare
can get a carry for you but I can't remember the details of that
trick.
<shrug> Horses for courses...
--don