Question: With explantion please. Problem 7 Task 1: Write an HCS12 subroutine for temperature conversion from Celsius (C) to Fahrenheit (F). Recall that the conversion formula

With explantion please.  With explantion please. Problem 7 Task 1: Write an HCS12 subroutine
for temperature conversion from Celsius (C) to Fahrenheit (F). Recall that the

Problem 7 Task 1: Write an HCS12 subroutine for temperature conversion from Celsius (C) to Fahrenheit (F). Recall that the conversion formula is given by the expression F- C + 32 Task 2: Use the above conversion subroutine to convert the temperatures given in arrayC in the code header below. Use a loop to convert each element of arrayC and plave the results in arrayF Include derivative- specific definitions INCLUDE "derivative.inc' RoMStart EQU $4000 N EQU 10 variable/data section ORG RAMStart Originate data at address :variables definition arrayC dc. -21, 32, 45, 1120, 41. 13. -39, 100. 123. 0; To simplify the arithmetics of the division by 5, use the integer part of the division, but remember that the temperatures in arrayC are 16-bit signed integers. Please make sure that your code is compatible with the memory map below 8 bits Address RAMStart0x1000 0x1001 0x1002 0x1003 EB 20 0x1014 0x1015 0x1016 0x1017 arrayE 59 ROMStart 0x4000 0x4001

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!