Mar 16, 2007 20:34
I'm studying "computability" and my text book uses this minimal programing language called "RAM programing" It has just seven commands.
The text book is called "A Recursive Introduction to the Theory of Computability" by Smith
Is there a java applet some place where I can test run these little RAM programs?
Here is what the addition program looks like:
N1 R2 JMP N2b
INC R1
INC R2
JMP N1a
N2 CONTINUE
is anyone familiar with this? It's easy enough to write these programs in some other language, but I really want a "constrained sandbox" where all I get for output is the registry. There aren't solutions for all of the exercises in the book, but I could check my work if I could simply run the programs.
... or I could post them here and see if any of you have the patience to read through all of the loops and jumps. :P
cs,
complexity