Electronics and Communication Engineering - Microprocessors - Discussion
Discussion Forum : Microprocessors - Section 6 (Q.No. 26)
26.
Consider the following program for 8085
MOV A, D
RAL
MOV D, A
If initial contents of register D is decimal number 20, the final content of register D isDiscussion:
2 comments Page 1 of 1.
Haritha said:
1 decade ago
Execution of first instruction.
A = 20 (the value of D move to A).
After RAL instruction.
A = 0100 0000 = 40H.
A value move to D.
A = 20 (the value of D move to A).
After RAL instruction.
A = 0100 0000 = 40H.
A value move to D.
San said:
1 decade ago
RAL means multiply by 2. Therefore 20*2 = 40.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers