Answered step by step
Verified Expert Solution
Question
1 Approved Answer
8255 PPI PA5 D7 - DO PA6 PAZ A AO A1 B 1 OR CS 2 1 74LS138 3 PC2 A2 A3 G2A G2B Push
8255 PPI PA5 D7 - DO PA6 PAZ A AO A1 B 1 OR CS 2 1 74LS138 3 PC2 A2 A3 G2A G2B Push button A1 Rd Wr A4 AND G1 A19 Figure 00 Q1) Using the 8255 PPI I/O interface, as shown in Fig.00, write the required assembly code to control a Pedestrian traffic light as follows: at start let Green light ON, when a pedestrian pushes the crossing but Yellow will be ON for 5 seconds, then Red is ON for one minute for the pedestrian to cross the street, the ON gain for 5 seconds, then Green ON until another pedestrian required to cross the street. You are required to: a. Find the base address, port A address, port B address, port C address, and Control word address. b. Draw simple flow chart Write the initialization code d. Write the control program C
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started