Question: A specific heat experiment generates the following random temperature measurements in Centigrade degree: 21, 189, 00, -7, 14, - 3, 70, 11, -12, 160 (19

 A specific heat experiment generates the following random temperature measurements in

A specific heat experiment generates the following random temperature measurements in Centigrade degree: 21, 189, 00, -7, 14, - 3, 70, 11, -12, 160 (19 of them) These values are stored by an 8088-microprocessor system as 16-bit SIGNED binary numbers at consecutive memory locations starting from 0600H. You are requested to write a program to organize these temperature values in ascending order. Algorithm Hint: each temperature value is compared with each of the other values after itself. If the value is greater than the next one, they are swapped otherwise they are left alone. Initialize all the necessary registers, Use the last memory storage address to compare whether the last value is reached or not. Use the minimum number of the following instructions: MOV, ADD, CMP, JLE, JBE, JB, HLT A specific heat experiment generates the following random temperature measurements in Centigrade degree: 21, 189, 00, -7, 14, - 3, 70, 11, -12, 160 (19 of them) These values are stored by an 8088-microprocessor system as 16-bit SIGNED binary numbers at consecutive memory locations starting from 0600H. You are requested to write a program to organize these temperature values in ascending order. Algorithm Hint: each temperature value is compared with each of the other values after itself. If the value is greater than the next one, they are swapped otherwise they are left alone. Initialize all the necessary registers, Use the last memory storage address to compare whether the last value is reached or not. Use the minimum number of the following instructions: MOV, ADD, CMP, JLE, JBE, JB, HLT

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 Databases Questions!