Question: SHOULD BE WRITTEN IN MIPS Part 2 (20 points) Reverse Bits of a Number: Write a subprogram that receives a decimal number (in $ao) and
SHOULD BE WRITTEN IN MIPS

Part 2 (20 points) Reverse Bits of a Number: Write a subprogram that receives a decimal number (in $ao) and reverses the order of its bits and returns it as its result (in $vo). For example, if the number received in $a0 is OXAABBCCDD in hex, the subprogram returns OXDDCCBBAA in $vo. For hex display see the related syscall that prints an integer in hexadecimal notation. In the implementation use shift and logical bit manipulation instructions such as and etc. as needed. Provide a simple user interface where appropriate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
