RS-CPU Assembler
Under General Discussion
Discuss, leave a comment.
Follow any responses to this entry through the RSS 2.0 feed.
Posted on Sunday, March 16th, 2008 at 4:38 pm
Under General Discussion
Discuss, leave a comment.
Follow any responses to this entry through the RSS 2.0 feed.
Posted on Sunday, March 16th, 2008 at 4:38 pm
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
© 2009 James Walmsley. All rights reversed. Contact us.
Comments!