Practice over 1000+ GATE-level questions from this topic!
Designed to match the latest GATE pattern with topic-wise precision, difficulty tagging, and detailed solutions.
In a 8085 microprocessor, the following instructions may result in change of accumulator contents and change in status flags. Choose the correct match for each instruction.

(a)=> (T)
(b)=> (S)
(c) => (P)
(a)=> (T)
(b)=> (P)
(c) => (S)
(a)=> (P)
(b)=> (S)
(c) => (T)
None
ANA r: ANDs the content of register with accumulator which modifies the content of accumulator and resets the carry flag and sets the AC flag.
XRA r: Ex-ORs the contents of a register with the accumulator. So, the contents of accumulator are modified. It resets both CY and AC flag.
CMP r: Compares the contents of register r with accumulator but contents of both registers are preserved. Contents of CY flag will change depending on the result. AC = unchanged.