Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started