Multiple choice

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

  1. 30 H

  2. 60 H

  3. 00 H

  4. contents of stack

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

MVIA               30 H                 A = 30 ACI                  30 H                 A = 60 XRA                 A                     A = 0 H POP                H