Question: Write a MIPS assembly language that ask user for two numbers and show them in BINARY NUMBER. Then ADD those numbers and show the result

Write a MIPS assembly language that ask user for two numbers and show them in BINARY NUMBER. Then ADD those numbers and show the result only in BINARY. PLEASE WRITE MIPS PROGRAM THAT WILL RUN IN QtSpim-MIPS32 compiler. DON'T NEED OTHER LANGUAGES OR DIFFERENT TYPES OF ASSEMBLY LANGUAGE. ONLY MIPS - QtSpim. Addition to that if you can, do the same thing, but convert it in HEX numbers and show result in HEX. THANKS

Code should be in this similar way! Simple example "Hello World" MIPS program:

.text

.globl main

main:

li$v0, 4

la$a0, out_string

li$v0, 10

syscall

.data

out_string: .asciiz " Hello World!"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!