Use the posted example lab report as a guide.
Create an HC12 assembly module that calculates the average of 10 8-bit unsigned numbers. If the average is greater than 100, the memory location called STATS should be set to the value 1, otherwise it should be cleared to 0. Use symbolic addressing whenever possible. Include an MSPEC (with P-Code describing all functionality) in the source code listing.
Completely test your code using two sets of arbitrary numbers: the average for CASE_A numbers should exceed 100, and the average for CASE_B numbers should not, therefore exercising both possible paths of code execution. Retain both sets of numbers in your code listing – comment out the one not being used.
Document your test results by clearly showing that the expected results and the actual results are identical. Perform hand calculations to determine the expected results, and show this in your test plan (also included in code listing). Use the Windows SNIP tool to capture the Code Warrior memory/symbol display to prove the actual results.
Turn in: One pdf file showing your DOL, Unit Test, Code, and Test Result screen shots.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of