Exercise 1
Write a MIPS assembly program equivalent to the following C procedure:
Identify, and mark corresponding MIPS instruction(s) that corresponds to the C statement in the sample program below. (In Attached file)
Exercise 2
Fill in the empty slots in the table by converting numbers into different representations. All numbers are 8 bits in length. Use 2's compliment representation in binary and hexadecimal numbers.
Exercise 3
Exercise 4
Given the base 3 number 12022
(i) What is this number in decimal?
(ii) What is this number in binary?
(iii) What is this number in base 9? Hint: Think of converting binary to octal...
Attachment:- hw Assignment.rar