Posts Tagged ‘Carpinelli’

RS-CPU Assembler

Sunday, March 16th, 2008

I’ve completed an entire C++ class which writes binary files for the RS-CPU. I’m now writing an interpreter front-end that will parse ASSEMBLER code, and generate a suitable binary.

The next stage will be to develop a basic C compiler that will out-put some plain-text ASSEMBLER code for our cpu. My rs-asm (the actual ASM compiler) will then be called to convert this into a binary file.

Click on the worm-cpu link at the top to see the pre-release demo. (Note it currently doesn’t interpret a file, but demonstrates each instruction in order of opcode, and writes the binary to disk).

James