1. The following program will receive data from port 1, determine whether bit 2 is high, and then send the number FFH to port 3: READ: MOV A,P1 ANL A,#2H CJNE A,#02H,READ MOV P3,#FFH



Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->There are 4000 literates in a village.45 % read Newspaper A and 65% read Newspaper B.25% read neither A nor B.How many persons read both the newspapers?....
QA->A man is facing East, then the turns left and goes 10 m, then turns right and goes 5 m, then goes 5 m to the South and from there 5 m to West. In which direction is he, from his original place ?....
QA->Name the translatory program which translates the high level language into machine language before running the program?....
QA->If a number is increased by 30% and then from the increased number its 30% is decreased. Then :....
QA->The power to determine the number of judges in a High Court lies with the?....
MCQ->The following program will receive data from port 1, determine whether bit 2 is high, and then send the number FFH to port 3: READ: MOV A,P1 ANL A,#2H CJNE A,#02H,READ MOV P3,#FFH....
MCQ->This program code will read data from port 0 and write it to port 2, and it will stop looping when bit 3 of port 2 is set: STAT: MOV A, PO  MOV P2,A  JNB P2.3, STAT....
MCQ->Which of the following statements are correct about the Bitwise & operator used in C#.NET? The & operator can be used to Invert a bit. The & operator can be used to put ON a bit. The & operator can be used to put OFF a bit. The & operator can be used to check whether a bit is ON. The & operator can be used to check whether a bit is OFF.....
MCQ->The contents of the accumulator after this operation MOV A,#0BH ANL A,#2CH will be....
MCQ->Consider the following statementsIn 8085 address and data buses are multiplexed.In Z 80 address and data buses are multiplexedIn Z 80 address and data buses are not multiplexed.Z 80 has 16 bit address bus and 8 bit data bus. Which of the above statements are correct?....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution