ISRO Computer Science (CSE) 2008 - Question 39

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2008

Consider the following Assembly language program: MVIA 30H; ACI 30H; XRA A; POP H. After the execution of the above program, the contents of the accumulator will be

  • A. 30 H
  • B. 60 H
  • C. 00 H
  • D. contents of stack

Answer: C. 00 H

Explanation: XRA A (XOR Accumulator with itself) always results in 00H.

| | All questions of ISRO Computer Science (CSE) 2008