Question: Write an assembly level code for 8051 when switch is connected to port P3.2 such that when the switch is on P3.2 is 0, and
Write an assembly level code for 8051 when switch is connected to port P3.2 such that when the switch is on P3.2 is 0, and when the switch is off P3.2 is 1. Port P0.0 is connected to an LED. Write a program to continuously receive data from P1 and send it to P2, and while doing so, whenever the switch is on, send 1 to port P0.0.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
