Answered step by step
Verified Expert Solution
Link Copied!

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 12: Community College Size
In California, community colleges are ranked by size according to how many full-time equivalent students (FTES) they serve in academic year as follows:
Number of Full-Time Equivalent Students Served Size
10,000 or less S
Between 10,001 and 14,999 M
Between 15,000 and 19,999 L
20,000 or more X
Write an HLA Assembly language program that implements the following function:
procedure ccsize( ftes : real32); @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: 9000.7
size returned in AL is: S
gimme FTES: 14851.4
size returned in AL is: M
gimme FTES: 18984.5
size returned in AL is: L
gimme FTES: 20103.33
size returned in AL is: X

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

Intelligent Information And Database Systems Second International Conference Acids Hue City Vietnam March 2010 Proceedings Part 1 Lnai 5990

Authors: Manh Thanh Le ,Jerzy Swiatek ,Ngoc Thanh Nguyen

2010th Edition

3642121446, 978-3642121449

More Books

Students also viewed these Databases questions