This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 6. Calculate the value of $s0 - $s1 + $s2 and store the result in the memory labeled “c” 7. Print the following output each on its own line a. Your name b. The value in a c. The value in b d. The value in c 8. Exchange or swap the values in $s1 and $s2 9. set the value in $s0 to –$s0 Specifics: • Use only the instructions covered to date. • Your programs will end when it runs out of instructions – this is expected. • Test, test, test!!!!! Documentation: • Comment the beginning of your programs with your name, class, and assignment number. • Comment every instruction. Assignment 1 submittal: • Upload your assembly language program (.s file) using the link on the website. • Click on the submit button. • Remember you can only submit once. • Do not use the digital dropbox or other methods. • Note: Blackboard often has a problem with Firefox so you may need to use IE for your browser....
View Full Document
- Spring '08
- Assembly Language, English-language films, MIPS assembly language