Microprocessors and Microcontrollers (3160914) MCQs

MCQs of 8051 Assembly Language Programming

Showing 21 to 25 out of 25 Questions
21.

The data address of look-up table is found by adding the contents of

(a)

accumulator with that of program counter

(b)

accumulator with that of program counter or data pointer

(c)

data register with that of program counter or accumulator

(d)

data register with that of program counter or data pointer

Answer:

Option (b)

22.

Which of the following is not an instruction of 8051 instructions?

(a)

arithmetic instructions

(b)

boolean instructions

(c)

logical instructions

(d)

none

Answer:

Option (d)

23.

The operations performed by data transfer instructions are on

(a)

bit data

(b)

byte data

(c)

16-bit data

(d)

all of the mentioned

Answer:

Option (d)

24.

Which of the following is true while executing data transfer instructions?

(a)

program counter is not accessible

(b)

restricted bit-transfer operations are allowed

(c)

both operands can be direct/indirect register operands

(d)

all of the mentioned

Answer:

Option (c)

25.

The logical instruction that affects the carry flag during its execution is

(a)

XRL A;

(b)

ANL A;

(c)

ORL A;

(d)

RLC A;

Answer:

Option (d)

Showing 21 to 25 out of 25 Questions