


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Lab; Class: Microcomputer Systems; Subject: ECE Elect & Computer Engr; University: Tennessee Tech University; Term: Spring 2008;
Typology: Lab Reports
1 / 4
This page cannot be seen from the preview
Don't miss anything!



The purpose of this lab is to learn the use of the 68HCS12 parallel ports to interface to simple devices, in a program that counts and displays switch activations on the LEDs and 7-segment digits. This is a continuation of the program started in Lab 6.
Prepare pseudocode and the first draft of the program. This must be completed before coming to the lab and shown to the lab instructor at the start of the lab session. Note: The Pre-Lab must be typed into a proper *.ASM source file, following our standard Program Format requirements.
_Approved: Lab TA _____________________ Date _____________
Write a fully-commented program for the Dragon12 board, following our standard Program Format requirements (http://iweb.tntech.edu/rhaggard/3120s08/Program_Format.htm), including appropriate directives and labels for memory operands and constants, called Digits.asm. The program should do the following:
The program may use directives to create data in memory locations beginning at $ as needed. Clearly define all data in your code!
Finally, copy all your computer files for the report into your 3120 ClassDrop folder, under the new folder Lab7, on the campus network at \Athena.pclab.tntech.edu\ClassDrops\ECE\ECE3120-Haggard\your-name\Lab