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 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
Get step-by-step solutions from verified subject matter experts
