DescriptionThe R313 is a (currently) imaginary URISC CPU created by me for educational purposes.
URISC stands for "ultimate reduced instruction set", it is a computer with only one instruction. Since it only has one instruction, you do not even need to store the instruction in memory, only the operand of it. The R313 is based on the reverse-subtract and skip-on-borrow (RSSB) instruction (view the README for how this works). It has one operand and is Turing complete.
This program contains two programs called "RASM" and "RVM". RASM is the assembler. Included is a "Hello, World!" assembly program to help you understand how it works. RVM is the virtual machine. It will run your code.
Please note that I had designed this CPU architecture a long time ago for educational purposes. Coding for this CPU is very difficult and rather impractical. However the virtual machine and assembler that come with this are both fully documented to serve as a guide for assembler and emulation creation.
This was originally written in C and then ported to SmileBASIC.
You can check out the assembly "Hello, World!" code on PC here