Question: A set temperature reading are stored in stat registers starting from registers 10H located in the access bank. A set of temperature readings are stored
A set of temperature readings are stored in data registers starting from register 10H, located in the Access bank. The set includes both positive and negative readings (numbers), and it is terminated in byte 00. Write instructions to find the highest positive temperature reading in the data set. This problem assumes that the data set will not include 00 as a legitimate temperature reading. Hints: o To find the highest temperature: o Get a reading and check whether it is zero. o Check whether the byte is negative. o Is the byte larger than the previously saved data? If yes, replace the existing byte. Go back to get the next byte
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
