Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] MICROPROCESSOR 8085! Need Help!

Status
Not open for further replies.

ashu26

Newbie level 1
Joined
Nov 21, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
12
Q1) When microprocessor reads an input port, the instruction IN does not set any flag. If the input reading is zero, what logic instruction can be used to set the zero flag without affecting the contents of the accumulator?

Q2) (IMAGE UPLOADED for this question) To conserve energy and to avoid an electrical overload on a hot afternoon, implement the following procedures to control the appliances throghout the house. Assume that the control switches are located in the kitchen and they are available to anyone in the house. Write a set of instruction to-
a) turn ON the AC if switch S7 of the i/p port 00H is ON.
b) Ignore all other switches of the i/p port even if someone attempts to turn on on\ther appliances.
c)Now, Keep the radio on( D4) continously without affecting the function of ther appliances, even if some turn off the switch S4.

Please write and explain the instructions for above questions.:cry: Thank you so much!:idea:

Q2.jpg
 
Last edited:

The normal method of setting the zero flag is to OR the accumulator with itself.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top