Question: Write an ARM assembly program to convert temperatures from Celsius to Fahrenheit and Fahrenheit to Celsius. Here are the two formulas for your reference. Use
Write an ARM assembly program to convert temperatures from Celsius to Fahrenheit and Fahrenheit to Celsius. Here are the two formulas for your reference. Use variables to read and store values; you can initialize an integer value into the variables (Do not expect decimal results. We are only doing integer operations). Test the first formula with a value of 77 in F. And test the second formula with 25 in C. C = 5 (F 32) 9
F = (9 C 5) + 32
Name the file TempConvert.s and add the below-commenting statements in the program
; Name:
; Date:
2. Write an ARM assembly program to calculate the value of the following function:
f(x) = 5x 2 6x + 8
where x = 20. Store the results in variable y.
Name the file FunSolve.s
; Name:
; Date:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
