logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

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.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

 Lab, Proper Testing and Documentation

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.

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

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. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

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

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

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

. 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 Sea Ports. Here are the classes and their instance variables we wish to define:

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

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

908 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

705 Answers

Hire Me
expert
Husnain SaeedComputer science

524 Answers

Hire Me
expert
Atharva PatilComputer science

886 Answers

Hire Me

Get Free Quote!

299 Experts Online