Question: ARM assembly language assignment. EE371 PROGRAMMING PROJECT... Don IMPORTANT NOTE: Read ALL of the project description, the list of deliverables, and the required statement of
EE371 PROGRAMMING PROJECT... Don IMPORTANT NOTE: Read ALL of the project description, the list of deliverables, and the required statement of individual effort before doing any work on the project. Introduction This exercise will give you some experience using many of the basic techniques in ARM assembly language programming. Specifically, you will gain experience with processing arrays with pointers, auto-increment addressing, conditional branches, a procedure call and return, passing parameters to procedures converting an algorithm to assembly language, and the program development cycle. This assignment will also give you some practice following the "Fast is Slow" rule and convincing yourself that it really works. Problem Statement: For this project, assume that a system is set up with a temperature sensor and an Analog to Digital converter to determine 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-120+ degrees Fahrenheit. The 8-bit binary values for the 16 temperatures taken each day are stored in an array of bytes named Fahrenheit Rough. The only problem is that the temperature sensor is non-linear. A correction value must be added to the value from the A/D converter to get the correct Fahrenheit temperature. The Correction factors are as follows: A/D Reading (decimal) 0-20 21-39 40-59 60-79 80-99 100- 120 Correction Factor (decimal) EE371 PROGRAMMING PROJECT... Don IMPORTANT NOTE: Read ALL of the project description, the list of deliverables, and the required statement of individual effort before doing any work on the project. Introduction This exercise will give you some experience using many of the basic techniques in ARM assembly language programming. Specifically, you will gain experience with processing arrays with pointers, auto-increment addressing, conditional branches, a procedure call and return, passing parameters to procedures converting an algorithm to assembly language, and the program development cycle. This assignment will also give you some practice following the "Fast is Slow" rule and convincing yourself that it really works. Problem Statement: For this project, assume that a system is set up with a temperature sensor and an Analog to Digital converter to determine 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-120+ degrees Fahrenheit. The 8-bit binary values for the 16 temperatures taken each day are stored in an array of bytes named Fahrenheit Rough. The only problem is that the temperature sensor is non-linear. A correction value must be added to the value from the A/D converter to get the correct Fahrenheit temperature. The Correction factors are as follows: A/D Reading (decimal) 0-20 21-39 40-59 60-79 80-99 100- 120 Correction Factor (decimal)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
