ECE 37 sensors, Sensor A and Sensor B, at opposte am reads an 8-bit temperature value from 7. A weather station has two temperature se ends of a town. Each hour a control program reads an 8-bit the value in a 24 element byte array called TEMPA. At the same A and puts Sensor element byte the f time it reads an 8-bit temperature value from Sensor B and puts the value in a array called TEMPB. After 24 hours, the control program cals a procedure to generate a rounded average for each pair of hourly readings and puts rounded average for each pair of hourly temperatures, the mainline program passes a pair of values to a procedure that does the actual computation. The procedure passes each hourly average back to the mainline to be put in the TEMPAV array Also, if an average value is 32 degrees or less, the procedure will write a value of OxFF to a memory location called FREZWARN. The averages for the past 24 hours and, if appropriate, a Freeze Warning will be shown on the evening weather report 7a Using STANDARD PROGRAM STRUCTURES shown in Chapter 3, write the ITHM for the mainline section of the program. Include the steps required to pass the required parameters to the procedure, call the procedure for each pair of values, and store the returned average value in the TEMPAV array Assume he stack and R13 have a procedure as needed lready been initialized and that you will save registers in the ECE 37 sensors, Sensor A and Sensor B, at opposte am reads an 8-bit temperature value from 7. A weather station has two temperature se ends of a town. Each hour a control program reads an 8-bit the value in a 24 element byte array called TEMPA. At the same A and puts Sensor element byte the f time it reads an 8-bit temperature value from Sensor B and puts the value in a array called TEMPB. After 24 hours, the control program cals a procedure to generate a rounded average for each pair of hourly readings and puts rounded average for each pair of hourly temperatures, the mainline program passes a pair of values to a procedure that does the actual computation. The procedure passes each hourly average back to the mainline to be put in the TEMPAV array Also, if an average value is 32 degrees or less, the procedure will write a value of OxFF to a memory location called FREZWARN. The averages for the past 24 hours and, if appropriate, a Freeze Warning will be shown on the evening weather report 7a Using STANDARD PROGRAM STRUCTURES shown in Chapter 3, write the ITHM for the mainline section of the program. Include the steps required to pass the required parameters to the procedure, call the procedure for each pair of values, and store the returned average value in the TEMPAV array Assume he stack and R13 have a procedure as needed lready been initialized and that you will save registers in the