Font size
WorksheetsMicrocontroller Quiz 1
Total questions: 50
Worksheet time: 29mins
full form of DJNZ ?
Decrease Just Number Zero
Decrement Jump Not equal to Zero
Data Jump New address if Zero
Delete and Jump to Number Zero
After execution of following instructions what will be content of Accumulator ? And also tell which flag will set?
MOV A,#08H
MOV B,#09H
ADD A,B
12H, CY
11H, CY
11H , AC
12H, AC
How many register bank in 8051?
1
2
3
4
Each register bank consist of how many registers?
10
8
4
16
How to select register register bank 2 ?
SETB RS1 , SETB RS0
CLR RS1 , SETB RS0
SETB RS1 , CLR RS0
CLR RS1 , CLR RS0
Number of binary 1's in accumulator is odd then parity bit of PSW will be __________
SET
RESET
-
NONE OF THIS
Which register bank will select after
CLR PSW.4
SETB PSW.3
3
2
1
0
PSW is a bit addressable register.
TRUE
FALSE
CANNOT SAY
DONT KNOW
Special function Register (SFR) address of B register is ______________________
A0 H
B0 H
E0 H
F0 H
Find content of Accumulator ?
MOV A , #4EH
CPL A
A = ?
22H
B1H
21H
24H
Find CY = ?
MOV A , # 09H
RRC A
0
1
NONE OF THIS
how many I/O port lines are there?
4
8
16
32
which port(s) is/are used as address lines when accessing external memory
Port 0
Port 2
Port 0 & port 2
Port 1 & Port 3
MOV A , # 59H
INC A
A = ?
5AH
60H
6FH
0FH
Microcontroller is
without memory
with memory
How many timers in 8051?
1
2
3
4
The timers of the 8051 are
4 bit
8 bit
16 bit
32 bit
The registers of Timer 1 are accessed as
TL0 & TL1
TH0 & TH1
TL0 & TH0
TL1 & TH1
The TMOD register is a(n)
4 Bit register
8 bit register
16 bit register
Which of the following are 8 bit registers?
PSW
DPTR
ACCUMULATOR (A reg)
Program Counter
How many interrupt sources available in 8051?
4
5
10
15
Program Counter (PC) is a
16 bit register
holds the address of memory
has internal address
memory pointer
pin number of RESET pin
40
9
20
21
Bit addressable location available in RAM
8 bytes
16 bytes
32 bytes
128 bytes
Registers used in SERIAL COMMUNICATION operation
TMOD
SCON
SBUF
PCON
Initial Address of stack memory
05H
06H
07H
08H
How many SFRs are available ?
10
11
12
21
Assembly language instruction consists of ______ fields
4
3
2
1
MOV A,#32H is an example of __________ addressing mode
Indirect
Direct
Register
Immediate
after MUL AB , lower byte and higher byte result stored in following respectively
B reg, Acc
Acc, B reg
B reg
Acc
8051 is a _____ pin IC
20
40
10
7
size of on chip ROM
128 bytes
256 bytes
4K bytes
64K bytes
timer pins T0 & T1 are connected to which pin respectively?
10 (P3.0) & 11 (P3.1)
12 (P3.2) & 13 (P3.3)
14 (P3.4) & 15 (P3.5)
16 (P3.6) & 17 (P3.7)
EA Pin is held _______ during external ROM access
LOW
HIGH
Which pins are used to read/ write data from/to MC?
RXD , TXD
T0 , T1
WR , RD
MOVX instruction is used to access ______
Internal RAM
External RAM
Program Counter
Speccial Function Register
NOP means
No operation
No operands
No object
New operation
DPTR stands for
Discrete Pointer
Display Pointer
Data Pointer
Default Pointer
Pin number of Vcc?
20
40
1`
10
which port is used for only input/output operation?
port 3
port 2
port 1
port 0
Choose the devices that are using a microcontroller
fridge
microwave
washing machine
sand clock
The microcontroller :
takes output to create the input
takes inputs to create the output
has only outputs
create input and output
which of the following are assembler directives?
ORG
CALL
RET
END
Which file type is finally burnt in the ROM
.abs
.asm
.hex
.lst
which language is used for programming 8051?
Assembly Language
Machine Language
C Language
English Language
In structure of ASM which field is Mnemonic
label
operand
comment
opcode
select the characteristics of Assembler directives
Pseudo instruction
executable instruction
gives directions to assembler
has internal address
Addressing is ___________
method of specifying the address in instruction
method of specifying the data in instruction
method of specifying the memory
method of specifying the operation in instruction
CJNE stands for
Comment & Jump if Number Enable
Compare & Jump if Not Equal
Carry bit Just if Number Equal
how many types of addressing mode are there in 8051?
5
4
3
2
