nstuction needed with code al.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Instuction needed with code al. 

 

SO
S1
S2
S3
S4
S5
S6
S7
SO
$1
S2
$3
S4
S5
S6
S7
INPUT PORT 1
F1 H
INPUT PORT 2
F2 H
DO
D7
DO
D7
DO
D7
ON condition
Store 01H in 2000H
Store 01H in 2001H
Store 01H in 2002H
Store 01H in 2003H
Store 01H in 2004H
Store 01H in 2005H
Store 01H in 2006H
Store 01H in 2007H
DO
D7
MICROPROCESSOR
8085
OUPUT PORT
FO H
00
01
02
03
04
05
06
07
P-ON
M-ON
E-ON
P-OFF
OFF condition
Store OFH in 2000H
Store OFH in 2001H
Store OFH in 2002H
Store OFH in 2003H
B1
*There are two input ports F1H and F2H and one output port FOH.
*All the switches of F1H&F2H are connected to the data line Do to D7 of 8085 microprocessor.
*All DO to D7 lines of 8085 are connected to 00 to 07 of output port.
Write program for the following instructions:
1.
Only when both the SO switch of F1H & F2H are ON, the 04 to 07 belts should be ON
irrespective of the conditions of both S4 to S7 switch positions.
2.
If the both the SO switches are on, the P-ON light should be enabled followed the conveyer
belt operation.
3. When the conveyer belts are started to process, the M-ON light should the indicated.
4. If there is any emergency condition, E-On alarm should be enabled followed by the switching
off the conveyer belts.
5. If the conveyer belts are stopped, the P-OFF indicator should be enabled.
Store OFH in 2004H
Store OFH in 2005H
Store OFH in 2006H
Store OFH in 2007H
B2
Since we don't have the output port operation in the simulator, you can use the following to
indicate the output process on.
Output devices
00
01
02
03
04
05
06
07
B3
B4
Transcribed Image Text:SO S1 S2 S3 S4 S5 S6 S7 SO $1 S2 $3 S4 S5 S6 S7 INPUT PORT 1 F1 H INPUT PORT 2 F2 H DO D7 DO D7 DO D7 ON condition Store 01H in 2000H Store 01H in 2001H Store 01H in 2002H Store 01H in 2003H Store 01H in 2004H Store 01H in 2005H Store 01H in 2006H Store 01H in 2007H DO D7 MICROPROCESSOR 8085 OUPUT PORT FO H 00 01 02 03 04 05 06 07 P-ON M-ON E-ON P-OFF OFF condition Store OFH in 2000H Store OFH in 2001H Store OFH in 2002H Store OFH in 2003H B1 *There are two input ports F1H and F2H and one output port FOH. *All the switches of F1H&F2H are connected to the data line Do to D7 of 8085 microprocessor. *All DO to D7 lines of 8085 are connected to 00 to 07 of output port. Write program for the following instructions: 1. Only when both the SO switch of F1H & F2H are ON, the 04 to 07 belts should be ON irrespective of the conditions of both S4 to S7 switch positions. 2. If the both the SO switches are on, the P-ON light should be enabled followed the conveyer belt operation. 3. When the conveyer belts are started to process, the M-ON light should the indicated. 4. If there is any emergency condition, E-On alarm should be enabled followed by the switching off the conveyer belts. 5. If the conveyer belts are stopped, the P-OFF indicator should be enabled. Store OFH in 2004H Store OFH in 2005H Store OFH in 2006H Store OFH in 2007H B2 Since we don't have the output port operation in the simulator, you can use the following to indicate the output process on. Output devices 00 01 02 03 04 05 06 07 B3 B4
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Calculating Power
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education