Exam #3-Program

Exam #3-Program - Polls USART0 and receives a test score...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Micro Computers Spring 20073 0618-303 1. Assume that 41 students have already taken this exam and their scores are stored in RAM memory starting at location 0x0200. Also assume that INITLCD, LCDWRLn1 and INIT_UART have already been included in your program. (You may call them in your program) Write a complete AVR assembly language program that does the following:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Polls USART0 and receives a test score Compares the received score to the scores stored in RAM Keeps track of how many scores are greater than the received score and how many scores are less than or equal to the receiver score. Use two variables called GT and LTET If GT > LTET put bad on the LCD If LTET > GT put good on the LCD Exam #3...
View Full Document

This note was uploaded on 01/10/2012 for the course ENG 0618-303 taught by Professor Christman during the Spring '07 term at RIT.

Ask a homework question - tutors are online