Question: use Pep9 1. The routine below should average two numbers (7 and 51), add 12 (extra credit) to them, and then display the total: A.

use Pep9

use Pep9 1. The routine below should average two numbers (7 and51), add 12 (extra credit) to them, and then display the total:

1. The routine below should average two numbers (7 and 51), add 12 (extra credit) to them, and then display the total: A. Fix and list any assembly level problems problems and explain why they are errors; B. correct any comments; C. run Save the updated source code and printscreen the final run. BR main xtrcrdt: .EQUATE 12 constant Quiz2 Points main: LDWA Quiz1,d BLOCK 2 BLOCK 2 BLOCK 2 global variable #2d :global variable #2d ;global variable #2d ADDA Quiz2,d ; Points-Quiz! + Quiz2 ASRA ADDA xtrcrdt,j STWA Points,d STRO msg.d printf("Points = %d ", Points) DECO Points,d LDBA In,i STBA charOut,d STOP :Points = Points/4 msg: .ASCII "Pointsx00" END 1. The routine below should average two numbers (7 and 51), add 12 (extra credit) to them, and then display the total: A. Fix and list any assembly level problems problems and explain why they are errors; B. correct any comments; C. run Save the updated source code and printscreen the final run. BR main xtrcrdt: .EQUATE 12 constant Quiz2 Points main: LDWA Quiz1,d BLOCK 2 BLOCK 2 BLOCK 2 global variable #2d :global variable #2d ;global variable #2d ADDA Quiz2,d ; Points-Quiz! + Quiz2 ASRA ADDA xtrcrdt,j STWA Points,d STRO msg.d printf("Points = %d ", Points) DECO Points,d LDBA In,i STBA charOut,d STOP :Points = Points/4 msg: .ASCII "Pointsx00" END

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!