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:
and 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 lines and character in each line
The Data Segment starts at physical address where we store a string of three
characters and followed by 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 and occupies a full segment space.
The Code Segment starts at logical address CS:H
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
