

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


The purpose of this lab is to learn the use of the parallel ports to interface to simple devices, plus further practice in using subroutines and the Dbug12 monitor functions for terminal input-output, as applied to a program that counts and displays switch activations.
Prepare pseudocode, the first draft of the program, and a schematic of your I/O interface circuit. Also draw graphical representations of the stack addresses and contents, as they should exist during each subroutine execution. This must be completed before coming to the lab and shown to the lab instructor at the start of the lab session.
_Approved: Lab TA _____________________ Date _____________
You will build, test, and demo this system in the Mechatronics Lab (BN326). Use your breadboard and components from your EE labs to build the circuit required. The lab TA will loan you the switches and 7-segment displays for use in the lab, which must be returned. Wire your breadboard to the HC12 interface adapter board. Be very careful to use the correct connections! Do NOT use any kind of 7-segment decoder IC. This system must implement the following functionality: