Write a Simple Computer program that swaps the values in locations 98 and 99.
Click the Check button to check your work.
For your convenience, here is the instruction set:
|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
|Jump to the instruction in location n if AX > 0
|Jump to the instruction in location n if AX = 0
|Halt the execution