Logo

Microcontrollers Questions Set 24:

Quiz Mode

How many addressing modes are there is 8051 microcontroller ?

Solution:

The 8051 series microcontroller has how many 16-bit registers?

1
2
3
4

Solution:

Choose the incorrect instruction

MOV A,R3 MOV A, 65H MOVX A, @R1 MOVP A, @R2

1
2
3
4

Solution:

Which bit in PCON register is responsible for taking the microcontroller in ideal mode?

1
2
3
4

Solution:

The value to be assigned to the TMOD register to operate Timer 1 in Mode 1 is ___________.

1
2
3
4

Solution:

The instruction MOVC A, @A+DPTR accesses elements from which memory?

1
2
3
4

Solution:

In the 8051 microcontroller, which I/O ports are used to provide the address for external memory?

1
2
3
4

Solution:

#include <reg51.h>

void main(void)

{

P2 = 0;

P2 = P2 | 0X99;

P2 = ~P2;

}

What is the content in P2(in hexadecimal) after the execution of the above code?

Solution:

How are the status of the carry (CY), auxiliary carry (AC), and parity (P) flags affected by the following instructions?

MOV A, #9C
ADD A, #64H

1
2
3
4

Solution:

In 8051 microcontroller , in the multiplication of 2 numbers, if one number is present in the accumulator, then other number will be in

1
2
3
4

Solution: