Electronics and Communication Engineering - Microprocessors - Discussion
Discussion Forum : Microprocessors - Section 3 (Q.No. 15)
15.
Let the initial contents of
ACC and CY
in 8085 be - CY = 1
- ACC = 10000001
After the instruction RAL
is executed twice the contents of CY and ACC
respectively will beAnswer: Option
Explanation:
RAL means 'rotate left through carry'.
Discussion:
5 comments Page 1 of 1.
Julia said:
1 decade ago
Isn't the answer option A? D7 is placed in carry and carry contents placed in D0
Shy@m said:
9 years ago
I think the answer is A.
Pkn said:
8 years ago
Yes, A is correct.
MASSS said:
8 years ago
Two times ral.
cy d7 d6 d5 d4 d3 d2 d1 d0
1 1 0 0 0 0 0 0 1 ======> given
1 0 0 0 0 0 0 1 1 =========> RAL 1
0 0 0 0 0 0 1 1 1 =============> RAL 2.
Hence, the answer is CY=0 ,00000111.
cy d7 d6 d5 d4 d3 d2 d1 d0
1 1 0 0 0 0 0 0 1 ======> given
1 0 0 0 0 0 0 1 1 =========> RAL 1
0 0 0 0 0 0 1 1 1 =============> RAL 2.
Hence, the answer is CY=0 ,00000111.
Jennifer said:
3 years ago
Thanks for explaining @Masss.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers