2 ms·
On a somewhat related note, I thought one way to play with a RISC-like instruction set (on real hardware) would be to create a compiler that emitted a reduced s
by e12e 13y ago
On a somewhat related note, I thought one way to play with a RISC-like instruction set (on real hardware) would be to create a compiler that emitted a reduced set of valid x86 assembly, a "Risc86" so to speak. Apparently I'm not alone:
http://spivey.oriel.ox.ac.uk/corner/Risc86 http://spivey.oriel.ox.ac.uk/corner/Risc86
Here, apparently used for teaching -- but I wonder if it would be easier to implement a CPU that parsed a subset of x86, rather than a completely new CPU (or "CPU" running on an FPGA) -- with the added bonus of being able to run binaries both on the new chip, as well as on "legacy" x86 machines...
Sounds fun, but I guess using OpenSparc or LEON would make more actual sense...