Question 11632 – Queues-and-Stacks
January 24, 2024
Question 9230 – GATE 2007
January 24, 2024
Question 11632 – Queues-and-Stacks
January 24, 2024
Question 9230 – GATE 2007
January 24, 2024

Question 10186 – GATE 1995

A single instruction to clear the lower four bits of the accumulator in 8085 assembly language?

Correct Answer: B

Question 1 Explanation: 
Here, we use the AND as a accumulator with immediate. F leaves the high nibble whatever it is, 0 clears the lower nibble.
→ The XOR’s don’t reliably clear random bits and ANI OF clears the upper nibble, not the lower nibble.
A
XRI OFH
B
ANI FOH
C
XRI FOH
D
ANI OFH
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!