Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MC Unit2 part2

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.
A range of ACALL instruction is
a)
2Kbytes
b)
4Kbytes
c)
64Kbytes
d)
256 bytes
2.
Which of the following instructions is used to jump if the accumulator is zero?
a)
JZ label
b)
JC label
c)
JNZ label
d)
JMP label
3.
Which of the following is a data transfer instruction in 8051?
a)
ADD
b)
ORL
c)
ANL
d)
MOV
4.
What is the purpose of the DAA instruction?
a)
Decimal adjust after BCD addition
b)
Divide accumulator
c)
Decrement accumulator
d)
Delete accumulator content
5.
Which instruction is used to copy data from external memory to accumulator?
a)
MOVC
b)
MOVX
c)
PUSH
d)
POP
6.
The instructions of 8051 are classified into
a)
3 groups
b)
5 groups
c)
4 groups
d)
6 groups
7.
What will be the content of accumulator after executing: MOV A,#58H followed by SWAP A?
a)
50H
b)
F5H
c)
0FH
d)
85H
8.
For16-bitadditionusing 8051whichpairof registers is commonly used to hold the higher byte?
a)
R0 and R1
b)
A and B
c)
R6 and R7
d)
DPH and DPL
9.
Which instruction clears the accumulator?
a)
MOVA,#FFH
b)
SETB A
c)
CPL A
d)
CLR A
10.
In 8051which bit-addressable register allows individual bit manipulation?
a)
PC
b)
SP
c)
DPTR
d)
PSW
11.
Which instruction increments accumulator by 1
a)
ADD A,#01H
b)
INC A
c)
MOV A,#01H
d)
CLR A
12.
Which instruction is used for multiplication in 8051
a)
MUL AB
b)
MULT A,B
c)
MUL A
d)
MUL C
13.
Which flag is affected by ADD instruction?
a)
Carry
b)
Overflow
c)
Auxiliary Carry
d)
All of these
14.
The instruction SJMP $ does what?
a)
Stops the program by creating an infinite loop
b)
Skips one instruction
c)
Terminates program
d)
Resets microcontroller
15.
Which instruction moves immediate data to accumulator?
a)
MOV A,R1
b)
MOV A,@R0
c)
MOV A,#30H
d)
MOV R0, A
16.
The MOV instruction in 8051 is used for
a)
Arithmetic addition
b)
Logical AND operation
c)
Transferring data between registers/memory
d)
Jumping to a subroutine
17.
Which of the following is a machine control instruction?
a)
NOP
b)
MOV
c)
ADD
d)
ANL
18.
What is the purpose of the CJNE instruction?
a)
Compare and jump if not equal
b)
Clear and jump
c)
Call subroutine
d)
Complement and exchange
19.
What is the default value of SP after reset?
a)
00H
b)
08H
c)
07H
d)
FFH
20.
How many addressing modes are used in 8051
a)
2
b)
4
c)
5
d)
6