Reference no: EM133371031
1. Using ARM assembly, write a program that reads two input numbers that represent feet and inches and convert this answer to be just inches. Write another program to do the reverse, taking one input in inches and convert it to feet and inches (this requires a remainder operation, that is not available on the Pi, so you have to write your own).
Note: the program does not allow 'sdiv' and 'udiv' instructions.
2. Using ARM assembly, implement two programs - one to convert temperature from degree Celsius to Fahrenheit, and one to do Fahrenheit to Celsius. The formulas for this are: F = (C * 9/5) + 32 and C = (F - 32) * 5/9. (Hint: make sure your order of operations is correct, and multiplication is always done before division).
Note: the program does not allow 'sdiv' and 'udiv' instructions.
3. Using ARM assembly, write a program that reads an input number and using left logical shifts and add instructions multiply that number by 10 and print out the result.
Note: the program does not allow 'sdiv' and 'udiv' instructions.