Question: please solve this question Question 2 (10 marks): A set of 12 LEDs are interfaced to port A and port C of the Intel 8255A

please solve this question
Question 2 (10 marks): A set of 12 LEDs are interfaced to port A and port C of the Intel 8255A PPI as shown in figure below: The objective is to write an assembly code to repeatedly turn on the Yellow LEDs for some time, then after that the Red LEDs and at the end the Green LEDs. a) Determine the addresses of port A, port B, and port C of 8255 PPI device. (Assume the don't care to be zero) b) Find the control word to configure the PPI as shown in the above figure. c) Write an assembly code to implement a delay loop of 1msec, assuming that the CPU has speed of 2MHz and the (loop) instruction take 17 clock periods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
