Assume that the 8051 serial port is connected to the COM port of IBM PC, P1 and P2 of the 8051 are connected to LEDs and switches, respectively. Write an 8051 assembly program to (a) send to PC the message We Are Ready, (b) receive any data send by PC and put it on LEDs connected to P1, and (c) get data on switches connected to P 2 and send it to PC serially.
