Digital Electronics - The 8051 Microcontroller - Discussion
Discussion Forum : The 8051 Microcontroller - General Questions (Q.No. 41)
41.
The contents of the accumulator after this operation
MOV A,#2BH
ORL A,00H
will be:
MOV A,#2BH
ORL A,00H
will be:
Discussion:
7 comments Page 1 of 1.
Suman said:
3 years ago
Which bit this one? Please explain.
Gaurav Saxena said:
4 years ago
Right @Sharmila.
Raghavendra said:
5 years ago
Yes, you are correct @Sharmila.
Sharmila said:
8 years ago
The instruction should have been ORL A, #00H isnt?
Now, the data in A will be OR ed with contents of data in 00h, i.e Ro of bank 0.
Now, the data in A will be OR ed with contents of data in 00h, i.e Ro of bank 0.
Chethu said:
9 years ago
Because the truth table of OR operation is.
1 OR with 0, 1 OR with 1, 0 OR with 1 gives result 1.
0 OR with 0 = 0.
Then, 2bh OR with 00h = 2bh.
1 OR with 0, 1 OR with 1, 0 OR with 1 gives result 1.
0 OR with 0 = 0.
Then, 2bh OR with 00h = 2bh.
Veena Dhiman said:
1 decade ago
0010 1011 =2BH
0000 0000 =00h
--------------------
0010 1011 =2Bh (ORL logiacl OR )answer
0000 0000 =00h
--------------------
0010 1011 =2Bh (ORL logiacl OR )answer
(1)
Rahul said:
1 decade ago
ORL means logical OR when perform the OR operation between High value and Low value then output always high value.
(2)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers