Write an ARM ASSEMBLY in program like keil uvision to convert temperatures from Celsius to Fahrenheit or from Fahrenheit to Celsius. Here are the two formulas for reference. Use variable to read and store values, you can initialize any integer value into the variables (Don't expect decimal results we are only doing integer operations). C = 5 × (F − 32) / 9 F = (9 × C / 5) + 32 Name the file heatconvert.s add the below commenting statements in the program ;Name: ;Date:
Write an ARM ASSEMBLY in program like keil uvision to convert temperatures from Celsius to Fahrenheit or from Fahrenheit to Celsius. Here are the two formulas for reference. Use variable to read and store values, you can initialize any integer value into the variables (Don't expect decimal results we are only doing integer operations).
C = 5 × (F − 32) / 9
F = (9 × C / 5) + 32
Name the file heatconvert.s add the below commenting statements in the program
;Name:
;Date:
;Give which expression you use
Use the following template for keilvision:
AREA RESET, DATA, READONLY
EXPORT __Vectors
__Vectors
DCD 0x20001000
DCD Reset_Handler ; reset
ALIGN
AREA CS7200, CODE, READONLY
ENTRY
EXPORT Reset_Handler
Reset_Handler
;-------------------------------------------------
;Write your code here
;--------------------------------------
stop B stop
END
Step by step
Solved in 2 steps