Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Datalog Engines In Databases

Authors: Bas Ketsman ,Paraschos Koutris

1st Edition

1638280428, 978-1638280422

More Books

Students also viewed these Databases questions

Question

What are the social tasks and challenges of adolescence?

Answered: 1 week ago

Question

How We Listen?

Answered: 1 week ago