Question: Start the Super Simple CPU app. Click on the Assemble window button. This brings up a blue window with several large text areas and some
Start the Super Simple CPU app.
Click on the Assemble window button. This brings up a blue window with several large text areas and some buttons.
In the left text area, type the following program. Make sure to put some spaces in front of the instruction mnemonic if there is no label. This means, for example, to hit the space bar several times before typing the "INP" in the first line.
tableINP,STO,ASUB,FIVEJZRSHOWSHOWOLDI,OUT,STPSHOWLDI,OUT,STPADAT,FIVEDAT,
Click on the Assemble button in the blue window. What do you see in the right text area? Can you make out the relationship between the mnemonics in the left text area and the binary codes in the right?
To transfer this program into the memory of the Super Simple CPU, click on the button Save to Memory. Close the blue window. Notice that the binary version of the program has been copied into the memory cells. The program is still there even though the blue window is invisible. Just click on Assemble window again to see it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
