Question: Write a MIPS assembly language program that takes ANY decimal integer from a user and outputs a 32-bit binary number and then add them both
Write a MIPS assembly language program that takes ANY decimal integer from a user and outputs a 32-bit binary number and then add them both together and show the result in BINARY NUMBER. If possible can you also do the same thing for HEX NUMBER, all in one program. The program should run in MIPS32 simulator - QtSpim
Example:
Ask user for first number
User Enters: 5
Output: 0000000000000000000000000000101
Ask user for second number
User Enters: 10
Output: 0000000000000000000000000001010
=========================
Result (output): 0000000000000000000000000001111
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
