Question: Gain experience with a procedure call and retum, passing parameters to procedures, processing arrays with pointers, auto-increment addressing, conditional branches, converting an algorithm to assembly

Gain experience with a procedure call and retum, passing parameters to procedures, processing arrays with pointers, auto-increment addressing, conditional branches, converting an algorithm to assembly language, and the program development cycle. Design in ARM ASSEMBLY LANGUAGE using the Beagle Bone Black Assume that a system is set up with a temperature sensor and an Analog to Digital converter to measure the Fahrenheit temperature every 1.5 hours in each 24 hour period. The A/D converter produces 8-bit binary values that represent the temperature in Fahrenheit. Temperature values range from 0- 140 degrees Fahrenheit. The 8-bit binary values for the 16 temperatures taken each day are stored in an array of bytes named Fahrenheit Temps. Your task will be to perform some calculations on the 16 temperature values in the array. (You will set up an array with 16 8-bit test values.) Your two main tasks will be: 1. In your first version program you calculate the rounded average of the 16 temperature values and put the result in a named memory location. 2. When the average version is working correctly, you develop and call a procedure that determines the minimum and maximum temperatures for the day and retums these to the mainline to be put in named memory locations. Gain experience with a procedure call and retum, passing parameters to procedures, processing arrays with pointers, auto-increment addressing, conditional branches, converting an algorithm to assembly language, and the program development cycle. Design in ARM ASSEMBLY LANGUAGE using the Beagle Bone Black Assume that a system is set up with a temperature sensor and an Analog to Digital converter to measure the Fahrenheit temperature every 1.5 hours in each 24 hour period. The A/D converter produces 8-bit binary values that represent the temperature in Fahrenheit. Temperature values range from 0- 140 degrees Fahrenheit. The 8-bit binary values for the 16 temperatures taken each day are stored in an array of bytes named Fahrenheit Temps. Your task will be to perform some calculations on the 16 temperature values in the array. (You will set up an array with 16 8-bit test values.) Your two main tasks will be: 1. In your first version program you calculate the rounded average of the 16 temperature values and put the result in a named memory location. 2. When the average version is working correctly, you develop and call a procedure that determines the minimum and maximum temperatures for the day and retums these to the mainline to be put in named memory locations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
