Answered step by step
Verified Expert Solution
Link Copied!

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: 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)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions