Assembler Simulator, by robert on 21/01/10

I made a quick Assembler simulator with basic syntax to help learn Assembly. It has two availiable registries, and capacity to input and output integers.

Here are the commands with their function:

STOP Ends the simulation
LOAD Sets the given register to equal the memory you gave the address to
STORE Stores the value of the given register to memory, by address
ADD Adds the value of the given memory allocation to the value of the given registry, and stores it in the other registry
SUBTRACT Subtracts the value of the given memory allocation from the value of the given registry, and stores it in the other registry
BRANCH Jumps to the given memory allocation
BRANCHZ Jumps to the given memory allocation if the given registry has a value of 0
BRANCHP Jumps to the given memory allocation if the given registry has a value > 0
READ Gets an integer from the input box, and puts it in the given registry
PRINT Outputs the value of the given registry
 
Catagory: computing