Question: PROGRAM 8 : increasing Function Write an HLA Assembly language program that implements a function which correctly identifies when each parameter is bigger than the

PROGRAM 8: increasing Function
Write an HLA Assembly language program that implements a function which correctly identifies when each parameter is bigger than the values that preceded it and returns a boolean value in AL (1 when all four values are increasing; 0 otherwise). This function should have the following signature:
procedure increasing( w: int8; x : int8; y : int8; z : int8); @nodisplay; @noframe;
In order to receive full credit, you must pass your parameters on the run-time stack and be preventing register corruption by preserving and then restoring the value of any register your function touches. This rule applies to every register except for AL which is being used to pass an answer back to the calling code.
Feed Me W: 15
Feed Me X: 115
Feed Me Y:48
Feed Me Z:91
Not increasing. AL =0
Feed Me W:0
Feed Me X: 12
Feed Me Y: 103
Feed Me Z: 112
Increasing. AL =1
Feed Me W:0
Feed Me X: 21
Feed Me Y:10
Feed Me Z:41
Not increasing. AL =0
I want it to be in HLA and run it in HLA_176.bat

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!