Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PROGRAM 1 2 : Community College Size In California, community colleges are ranked by size according to how many full - time equivalent students (
PROGRAM : Community College Size
In California, community colleges are ranked by size according to how many fulltime equivalent students FTES they serve in academic year as follows:
Number of FullTime Equivalent Students Served Size
or less S
Between and M
Between and L
or more X
Write an HLA Assembly language program that implements the following function:
procedure ccsize ftes : real; @nodisplay; @noframe;
Your function should return in AL the Size value, as shown in the chart above.
Hint: Please review the Sample Programs in Floating Point unit to see how to compare floating point values. You need to use the floating point instruction fcomp as shown on the second example program.
Second Hint: To load integral values into the FPU, you must use FILD, not FLD
gimme FTES:
size returned in AL is: S
gimme FTES:
size returned in AL is: M
gimme FTES:
size returned in AL is: L
gimme FTES:
size returned in AL is: X
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