Question: Write a program that calculates the average and the sum of class grades: A = 9 0 , B = 8 0 , C =

Write a program that calculates the average and the sum of class grades: A=90,B=80,
C=70,D=60,E=50, and F=40 and store them in the memory at locations " AVG " and
"SUM" respectively. The program should also full fill the following specification:
The Name of the program is "Student Average".
Each printed page has 49 lines and 90 character in each line
The Data Segment starts at physical address 1A000H, where we store a string of three
characters x,Y, and Z, followed by 38 empty bytes, grades of the students come after that.
The average and summation of the students' grades are also saved in two words in the
memory at locations exactly after the last student grade.
The Stack Segment starts at physical address 70000H and occupies a full segment space.
The Code Segment starts at logical address (CS:7000H)
 Write a program that calculates the average and the sum of

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!