Lots of new CPUs, sure.
But let's explore an old CPU: the 1975 PALM.
I'm looking for anyone interested to explore the idea. Maybe prove how
robust modern tools are at adapting C, by exploring this ancient instruction set.
Lots of new CPUs, sure.
But let's explore an old CPU: the 1975 PALM. ...
[Architecture described here http://computermuseum.informatik.uni-stuttgart.de/dev/ibm_5110/technik/en/
It doesn't look like it would be all that bad as a target for C although the code to handle the stack
might be a bit tedious. -John]
Interesting having 16-bit integers but only an 8-bit ALU, where
a carry for addition is added to the upper bit, would need a few
instrucions for a 16-bit addtion. It would be straightforward
to write out such an instruction sequence each time a 16-bit
addition was required, though.
[IBM programmed the PALM to simulate most of S/360 to run APL\360 and
the System/3 mini to run the BASIC interpreter, both I assume hand
coded in assembler. It was a tour de force at the time. I agree that generating code for C doesn't look hard, just tedious. -John]
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (3 / 13) |
Uptime: | 71:56:32 |
Calls: | 6,714 |
Calls today: | 2 |
Files: | 12,246 |
Messages: | 5,356,983 |