Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions

Question

How are the foreign keys treated in the Barker/Oracle-like model?

Answered: 1 week ago