Question: 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.
 Using assembler code implement UART input and provides some output to

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!