Worksheets“8051 Microcontroller: Test Your Knowledge!”
Total questions: 10
Worksheet time: 8mins
Clock frequency of 8051 microcontroller is usually:
1 MHz
4 MHz
12 MHz
40 MHz
In 8051, Timer 0 and Timer 1 are of what size?
8-bit
16-bit
32-bit
64-bit
After executing DEC R0, what happens?
Contents of R0 increase by 1
Contents of R0 become 0
Contents of R0 are moved to A
Contents of R0 decrease by 1
Which of the following is an arithmetic instruction in 8051?
MOV A, R1
INC A
ANL A, R1
CPL A
Which flag is affected by SUBB instruction in 8051?
Carry Flag
Parity Flag
Auxiliary Carry Flag
Overflow Flag
The result of MUL AB is stored in which registers?
B and Accumulator
Only Accumulator
Only B
Stack
What will be Accumulator content after execution?
MOV A, #0FH
ADD A, #01H
0FH
10H
11H
01H
Real-life example of using arithmetic instructions in microcontrollers is:
Storing data in memory
Sensor data Averaging
Sending data via serial port
Generating clock pulses
The instruction MOVC A, @A+DPTR is used to:
Move data from code memory to accumulator
Move data from accumulator to DPTR
Copy accumulator to RAM
Copy RAM to accumulator
Which addressing mode is used in instruction MOV A, @R0?
Register
Direct
Immediate
Register Indirect
