NEW
Font size
WorksheetsMicrocontroller Test Quiz 3
Total questions: 21
Worksheet time: 13mins
PSW stands for _________________________
Program state word register
Progress state word register
Progress status word register
Program status word register
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
10H , CY
11H , AC
12H , CY
11H , CY
After execution of following instruction what will be content of Accumulator ? which flag will set?
MOV A,#80H
MOV B,#90H
ADD A,B
20H , CY
30H , CY
30H , CY
10H , CY
How many register bank in 8051?
1
2
3
4
Each register bank consist of how many registers?
4
8
16
32
How to select register register bank 2 ?
SETB RS1 , SETB RS0 ,
CLR RS1 , SETB RS0
CLR RS1 , CLR RS0
SETB RS1 , CLR RS0
Number of binary 1's in accumulator is even then parity bit will be __________
Reset
Set
-
None of this
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)
After execution of following instruction what will be content of Accumulator? Which flag set?
MOV A,#40H
MOV B,#50H
ADD A,B
90H , CY
90H , AC
90H , P
90H , OV
Which register bank will select after
CLR PSW.4
SETB PSW.3
0
1
2
3
PSW is a bit addressable register.
Flase
True
Dont know
cannot say
PSW is a bit addressable register.
Flase
True
Dont know
cannot say
Special function Register (SFR) address of PSW is ______________________
A0H
B0H
E0H
D0H
Find content of Accumulator ?
MOV A , # 0DEH
CPL A
A = ?
22H
23H
20H
21H
Find CY = ?
MOV A , # 09H
RRC A
0
1
-
None of this
Find CY=?
MOV A , #7FH
RLC A
CY=?
1
0
-
Non of this
Find A = ?
MOV A , # 11H
DAA
A = ?
11
15
16
17
MOV A , #03H
MOV B , #02H
CJNE A , B DN
DN : JNC Jump if not carrry is true or flase?
FALSE
TRUE
-
NONE OF THIS
MOV A , # 02H
MOV B,#03H
CJNE A,B DN
DN: JNC
Jump if not carry condition will true or false
True
False
-
None of this
MOV A , # 0ACH
CPL A
A = ?
52H
55H
53H
56H
MOV A , # 0FH
INC A
A = ?
17
18
10
13
