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.
The contents of the accumulator in an 8085 microprocessor is altered after the execution of the instruction.
CMP C
CPI 3A
ANI 5C
ORA A
CMP C: Compares the content of register C with accumulator and only flags are modified but contents of accumulator are unchanged.
CPI 3A: Compares the content of Accumulator with the data byte “3A”. The contents of accumulator remains unchanged.
ANI 5C: It is bit by bit AND operation of the data byte “5C” with the accumulator and is used for masking certain bits so it changes the contents of accumulator.
ORA A: It is a bit by bit OR operation of Accumulator with itself so the contents of accumulator are unchanged.