04. a) Write an 8051 C program to send values 00 through FFH to port Pl. b) Write an 8051 C program to send values -3 to +3 to port P1. c) Write an 8051 C program to toggle all bits of P1 (between 55...
19. Is the instruction "CPL Pi" a valid instruction? 20. Write a program to toggle P1.2 and P1.5 continuously without disturbing the rest of the bits. 21. Write a program to toggle P1.3, P1.7, and P2.5 continuously without disturb- ing the rest of the bits. 22. Write a program to monitor bit P1.3. When it is high, send 55H to P2. 23. Write a program to monitor the P2.7 bit. When it is low, send 55H and AAH to PO...