I am in the process of making the simulator append to a file the register variables whenever it encounters a USR command.
I found that the assembler allows for USR R0 through USR R7 and the simulator displays USR R0 as just USR and displays USR R1 through USR R7 as NOP. The
documentation on the uRISC it doesn't seem to indicate that there are 8 USR opcodes although there seems to be room for them.
For now I will just add functionality to the simulator to append all register contents to a file when it encounters opcode 0xA0 or USR or USR R0.
Comments on how it should be done are welcome.
I suppose one option would be to use USR2 R0 through USR2 R7 when one wanted to log to a file a single register, but for my purposes right now I just need to be able to throw various inputs at a function and be able to determine what it is doing by analyzing the output.
I can email the modified source to anyone who wants it or to someone to post it on sourceforge or wherever.