COMP 1500
MIPS Assembly using MARS simulator
Exercise 2 (h) The output will appear eventually in the "Run I/O" tab at the
bottom of the screen then the program will halt. (5 pts.)
What is the result in decimal? 65536 In hexadecimal? 0x00010000
Exercise 2 (j) Run the program with input 0. (5 pts.)
What is the result in decimal? 1 In hexadecimal? 0x00000001
Exercise 2 (k) Run the program with input 30. (5 pts.)
What is the result in decimal? 1073741824 In hexadecimal?
0x40000000
Exercise 2 (l) Run the program with input 31 (10 pts.)
What is the result in decimal? -2147483648 In hexadecimal?
0x80000000