Question: MIPS ASSEMBLY QUESTION reverseNumber : Write a subprogram, called reverseNumber, that receives a decimal number (in $a0) and reverses its bytes and returns as its
MIPS ASSEMBLY QUESTION
reverseNumber: Write a subprogram, called reverseNumber, that receives a decimal number (in $a0) and reverses its bytes and returns as its result (in $v0). For example, if the number received is AABBCCDD in hex it returns DDCCBBAA. For hex display see the related syscall. In the implementation of reverseNumber use shift and logical bit manipulation instructions such as and etc. as needed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
