Consider the following assembly language program for a hypothetical processor.…

PYQ GATE 2003

Consider the following assembly language program for a hypothetical processor. A, B, and C are 8 bit registers. The meanings of various instructions are shown as comments.

image.png

If the initial value of register A is A0 the value of register B after the program execution will be

  1. A.

    the number of 0 bits in A0

  2. B.

    the number of 1 bits in A0

  3. C.

    A0

  4. D.

    8

Attempted by 8 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…