Question: Consider a single-pole traffic light system with 3 lights (Red, Yellow and Green). Assume that the driving circuit of three lights is operated by the

Consider a single-pole traffic light system with 3 lights (Red, Yellow and Green). Assume that the driving circuit of three lights is operated by the first 3 pins of the Port A of 8255 PPI. Further assume that, Pin 0 of Port B is connected to a clock circuit. The clock circuit generates 5V during the times between 6.am - 10pm (daytime) and 0V other times (nighttime). The system operates at the following two modes: a Daytime mode: Red light 20 s. Red-Yellow light 5 s and Green light 35 s. b. Nighttime Mode: Yellow light flashes twice every second. Write an assembly language program to operate this traffic light system
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
