Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using assembler code implement UART input and provides some output to that same UART. Please do not implement other libraries just straight assembler code. Based

Using assembler code implement UART input and provides some output to that same UART. Please do not implement other libraries just straight assembler code. Based on an LPC 2104 microprocessor.
image text in transcribed
EE 3752 Fall 2017 Lab Experiment 9 Tuesday lab sections: report and code due Mon, Nov 13 by 11:55 pm Thursday lab sections: report and code due Wed, Nov 15 by 11:55 pm Intro: The purpose of this lab experiment is to combine input and output interfacing using the UART with string processing. Experiment: (50 points) You will write a program that takes in input from a UART, processes it, and then provides some output to that same UART. First your program should print a message to the UART display window in Keil that asks the user to enter a 0 or 1. It should wait to receive a character. After receiving a character, it should display it and then do the following. If the character is a 0, then it should execute subroutine sub_zero that will add 1 to variable brown_zero and print a message that says "You have performed function zero". If the character is a 1, then it should execute subroutine subone that will add 1 to variable brown_one and print "You have performed function one". If the character is not a 0 or 1, then it should print an error message. Afterward, it should start again, printing the message asking the user to enter a 0 or 1 EE 3752 Fall 2017 Lab Experiment 9 Tuesday lab sections: report and code due Mon, Nov 13 by 11:55 pm Thursday lab sections: report and code due Wed, Nov 15 by 11:55 pm Intro: The purpose of this lab experiment is to combine input and output interfacing using the UART with string processing. Experiment: (50 points) You will write a program that takes in input from a UART, processes it, and then provides some output to that same UART. First your program should print a message to the UART display window in Keil that asks the user to enter a 0 or 1. It should wait to receive a character. After receiving a character, it should display it and then do the following. If the character is a 0, then it should execute subroutine sub_zero that will add 1 to variable brown_zero and print a message that says "You have performed function zero". If the character is a 1, then it should execute subroutine subone that will add 1 to variable brown_one and print "You have performed function one". If the character is not a 0 or 1, then it should print an error message. Afterward, it should start again, printing the message asking the user to enter a 0 or 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions