This demonstrates some of the aspects of machine and assembly language programming.
This applet was originally written by Barry G. Adams of Laurentian University. Several features were added by Curt Hill.
The following table shows the instructions that are available for this computer:
|Code (1st word)
|Code (2nd word)
|Store the contents of AX in memory location n
|Load AX with the contents of location n
|Add n to AX (add immediate)
|Subtract n from AX (subtract immediate)
|Add the contents of location n to AX
|Subtract the contents of location n from AX
|Multiply the contents AX by the contents of location n
|Divide the contents of AX by the contents of location n
|Enable input button and accept input into location n
|Output the contents of location n
|Jump to the instruction in location n if AX > 0
|Jump to the instruction in location n if AX = 0
|Halt the execution
The Java source in a zip file.
Return to the simulators page.
Curt's Home Page.
Last time I updated this page: February 17, 2012