Question 11632 – Queues-and-Stacks
January 24, 2024Question 9230 – GATE 2007
January 24, 2024Question 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.
→ The XOR’s don’t reliably clear random bits and ANI OF clears the upper nibble, not the lower nibble.
XRI OFH
ANI FOH
XRI FOH
ANI OFH
Subscribe
Login
0 Comments