|
RAM Interpreter@wareseeker.com
What's RAM?The programming language of RAMs has a very limited instruction set. Every (non-empty and non-comment-) line of the source code must start with the instruction number ("program line number") and then, one of the following instructions must follow:
where i, j and k are integers and represent the number of a register, l is an integer and represents an instruction number, and c is an integer constant. RRi is the indirect mode of addressing a register, that means not register i is used but the register with the number that is contained in register i. Example A (sum)
Example B (multiplication)
Example C (ceiling division)
Example D (floor division)
(Courtesy of http://linux.wareseeker.com/download/java-ram-interpreter-1.0.rar/325066) |
Copyleft (c) 2003-3002, Junhui Deng |