Question: plz write code assmblie Problem 2 (18 pts) Given a PPI at an address 40H-43H. It is required to put port A and B as


Problem 2 (18 pts) Given a PPI at an address 40H-43H. It is required to put port A and B as an output and port C as an input. Q1) (5 pts) Write all possible control words for the PPI. Q2) (8 pts) Write a code snippet that reads port C and outputs the data read to port A. When the data read from port C is equal to 80H, output 67H to port B. Problem 2 (18 pts) Given a PPI at an address 40H-43H. It is required to put port A and B as an output and port C as an input. Q1) (5 pts) Write all possible control words for the PPI
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
