- #1
Spenman91
- 6
- 0
I'm working on an assignment for a computer science course. The professor did not give very good instruction, and I can't find very much information about the subject online. We are supposed to use this http://www.anne-gert.nl/projects/simpsim/ program to preform various operations including adding, subtracting, multiplying, and dividing values. If I just had something to read or an example of how to use the program, it would be very helpful.
For all intents and purposes, let's assume that I want to find the difference of two integers.
My Attempts:
List of Steps for Attempted Program Execution.
1. Place numeric values into memory locations
2. Load those values from the memory locations into different registers
3. Perform the "addi" operation to the values stored in the registers and place the result in another register.
4. Store the result from the register into a memory location
5. Use the "Halt" operation to stop the program.
For all intents and purposes, let's assume that I want to find the difference of two integers.
My Attempts:
List of Steps for Attempted Program Execution.
1. Place numeric values into memory locations
2. Load those values from the memory locations into different registers
3. Perform the "addi" operation to the values stored in the registers and place the result in another register.
4. Store the result from the register into a memory location
5. Use the "Halt" operation to stop the program.
Last edited by a moderator: