Unformatted text preview: sequence to multiply the value stored in $a0 by 31. The result should be stored in register $a0. 4. Write a MIPS assembly language program to multiply two signed integers stored in register $a0 and $a1 and return the product in $v0. You may use the following registers: $t0, $t1, $t2, $t3, $t4, $t5, $t6, $t7, $s0, $s1, $s2, $s3, $s4, $s5, $s6, $s7, $a0, $a1, $v0. 5. Convert the pseudoinstruction ble $s2, $v0, convert to native MIPS instructions. 6. Describe why optimal code is important. Be sure to address a wide variety of issues including economic and environmental....
View Full Document
This document was uploaded on 11/03/2011 for the course CSE 341 at SUNY Buffalo.
- Fall '09
- Assembly Language