question archive Write a program to perform the following: (1) Keep monitoring the P2
Subject:Computer SciencePrice:2.87 Bought7
Write a program to perform the following: (1) Keep monitoring the P2.2 bit until it becomes low. (ii) When P2.2 becomes low, write value OH to port 0. (iii) Send a Low-to-high (L-to-H) pulse to P1.3
Answer:
microprocessor and its architecture:-
A Microprocessor is an important part of a computer architecture without which you will not be able to perform anything on your computer. It is a programmable device that takes in input performs some arithmetic and logical operations over it and produces the desired output.
Architecture of 8085 microprocessor:-
CLR P2.2;
MOV A #OH;
AGAIN:JB P2.2,AGAIN;
MOV PO,A;
CLR P1.3;
SETB P1.3;
PFA