Font size
Worksheets8051 Microcontroller
Total questions: 40
Worksheet time: 20mins
When the microcontroller executes some arithmetic operations, then the flag bits of which register are affected?
PSW
SP
DPTR
PC
Which operator is the most important while assigning any instruction as register indirect instruction?
#
@
*
&
Which of the following comes under the indexed addressing mode?
MOVX A, @DPTR
MOVC @A+DPTR,A
MOV A,R0
MOV @R0,A
To select Register Bank 1, RS1-RS0 Should be
0 0
0 1
1 0
1 1
Give the internal RAM size in 8051.
8-bit
1-Byte
4 KB
128 Byte
Number of register banks in 8051
8
7
4
10
ROM memory size placed on chip?
64Kbytes
4Kbytes
256 Bytes
128 bytes
How many SFR registers are present in memory
10
12
11
21
How many ports does a 8051 microcontroller have?
8
4
2
1
The size of PC (Program Counter) of 8051 microcontroller is
16 bit
8 bit
32 bit
4 bit
What is the bit size of the 8051 microcontroller
8
16
32
64
The total external data memory that can be interfaced to the 8051 is:
32K
64K
128K
256K
Which of the following are 8 bit registers?
PSW
DPTR
ACCUMULATOR (A reg)
Program Counter
Total number of Interrupt sources of 8051 MC is ______
2
4
6
5
How many serial port available in 8051
1
2
3
4
Which is the multifunctional port of 8051 microcontroller?
Port 0
Port 3
Port 2
Port 1
Identify the addressing Mode of instruction MOV A,@R0
Indexed
indirect
direct
register
Which is the instruction that branches when A==0?
JC
JMP
JZ
DJNZ
The number of Timers in 8051 are
Three
Two
One
Four
How many bytes of bit addressable memory is present in 8051 based microcontrollers?
8 bytes
32 bytes
16 bytes
28 bytes
On power-up, the 8051 uses which RAM locations for register R0- R7
00-2F
00-07
00-7F
00-0F
MOV A, @ R1 will:
copy R1 to the accumulator
copy the accumulator to R1
copy the contents of memory whose address is in R1 to the accumulator
copy the accumulator to the contents of memory whose address is in R1
An alternate function of port pin P3.4 in the 8051 is:
Timer 0
Timer 1
interrupt 0
interrupt 1
It is the brain of a microcontroller.
RAM
CPU
ROM
EEPROM
How are the bits of the register PSW affected if we select Bank2 of 8051?
PSW.5=0 and PSW.4=1
PSW.2=0 and PSW.3=1
PSW.3=1 and PSW.4=1
PSW.3=0 and PSW.4=1
EA is held _____ , to access external ROM
High
Low
High Impedance State
None
Give the starting address of Bank 1?
00H
07H
08H
None of the above
PSW stands for _________________________
Program state word register
Progress state word register
Progress status word register
Program status word register
How many register bank in 8051?
1
2
3
4
Each register bank consist of how many registers?
4
8
16
32
If carry generates from bit D6 to D7 but not from D7 to out then _____________flag set
Parity (P)
Carry (CY)
Auxillary carry (AC)
Overflow (OV)
Special function Register (SFR) address of PSW is ______________________
A0H
B0H
E0H
D0H
MOV A , # 0FH
INC A
A = ?
17
18
10
13
What kind of instructions usually affect the program counter?
Call & Jump
Call & Return
Push & Pop
Return & Jump
Which register bank is supposed to get selected if the values of register bank select bits RS1 & Rs0 are detected to be ‘1’ & ‘0’ respectively?
Bank 0
Bank 1
Bank 2
Bank 3
Which instruction find its utility in loading the data pointer with 16 bits immediate data?
MOV
INC
DEC
ADDC
Which among the below stated registers does not belong to the category of special function registers?
TCON & TMOD
TH0 & TL0
P0 & P1
SP & PC
How does the processor respond to an occurrence of the interrupt?
By Interrupt Service Subroutine
By Interrupt Status Subroutine
By Interrupt Structure Subroutine
By Interrupt System Subroutine
Which special function register play a vital role in the timer/counter mode selection process by allocating the bits in it?
TMOD
TCON
SCON
PCON
Which pin in the shift register mode (Mode 0) of serial communication allows the data transmission as well as the reception?
TXD
RXD
RB8
REN
