Question: I need all the errors to be identified, and the output of the debugged program. Attempt only if you can do it right. If you

 I need all the errors to be identified, and the output

of the debugged program. Attempt only if you can do it right.

I need all the errors to be identified, and the output of the debugged program. Attempt only if you can do it right. If you provide a false answer, I will give a bad rating, and also report and complain to Chegg customer service. A thumbs up for someone who does it right. Course - Computer Organization

(5 marks) 2. Find the errors in the program and run the debugged program to display the output. # Start data segment (datal) data msg1asciit "Enter A: msg2: asclit "Enter B: msg3: asciiz "A+B= newline: asciiz " " #Start text segment (program code) main: Print string msg1 SV0,4 #print_string syscall code = 4 $ao, msg1 . #load the address of msg syscall #Get Input A from user and save li $v0,5 #read_int syscall code = 5 move Sto, # syscall results returned in Svo # Print string msg2 SV0,4 la Sao, msg2 syscall #print_string syscall code = 4 #load the address of msg2 # Get input 8 from user and save $v0,5 #read_int syscall code = 5 syscall move $t1,$vo # syscall results returned in Svo Mathi Sto, Sto, $t1 #A=A+B #print_int syscall code = 1 #int to print must be loaded into Sao Print string msg3 Svo, 4 l $ao, msg3 syscall # Print sum li $v0,1 move $a0,$to syscall # Print in li $v0,4 l $al, new line syscall $v0,10 #print_string syscall code = 4 #exit syscall >>>>>>>>>GOOD LUCK

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!