

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; Professor: Li; Class: MICROPROCESSOR APPLIC; Subject: ENGINEERING: ELECTRICAL; University: University of Florida; Term: Unknown 1989;
Typology: Lab Reports
1 / 2
This page cannot be seen from the preview
Don't miss anything!


University of Florida EEL 4744 Department of Electrical and Computer Engineering Page 1 / 2
Purpose The purpose of this lab is to give students more practice in writing and debugging elementary assembly routines. In addition to this, students will learn how to add a simple keypad to their 6812 boards and how to scan it properly to eliminate switch bounce. Part I. Writing Assembly - Sort Routine You will be given a vector containing 2’s complement 8 bit numbers. You task is to write a routine that copies these numbers over to a new vector (in RAM) in order of magnitude. The largest number should be written first in the new vector and the smallest number should be last.
University of Florida EEL 4744 Department of Electrical and Computer Engineering Page 2 / 2
Note #1: "*" pressed on the keypad should correspond to $E on the display and "#" pressed on the keypad should correspond to $F on the display. Note #2: The above algorithm used to determine which key has been pressed is denoted as scanning a keypad and is also used on a PC keyboard. Every PC keyboard has an inexpensive microcontroller that scans for a pressed key and then serially transmits the information back to the PC. Part I. Pre-Lab Requirements (15%)
1 2 3 4 Pins Keypad (mounted upside down) 1 = DIP RPACK (Lab #3) 2 = LED Display (Lab #3) 3 = SIP RPACK (Lab #3) 4 = DIP Switches (Lab #3) 5 = Keypad Pull-ups 5 Shown skinnier than normal to fit in this document