wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Microcontroller Test Quiz 3

Total questions: 21

Worksheet time: 13mins

Name
Class
Date
1.

PSW stands for _________________________

a)

Program state word register

b)

Progress state word register

c)

Progress status word register

d)

Program status word register

2.

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

a)

10H , CY

b)

11H , AC

c)

12H , CY

d)

11H , CY

3.

After execution of following instruction what will be content of Accumulator ? which flag will set?

MOV A,#80H

MOV B,#90H

ADD A,B

a)

20H , CY

b)

30H , CY

c)

30H , CY

d)

10H , CY

4.

How many register bank in 8051?

a)

1

b)

2

c)

3

d)

4

5.

Each register bank consist of how many registers?

a)

4

b)

8

c)

16

d)

32

6.

How to select register register bank 2 ?

a)

SETB RS1 , SETB RS0 ,

b)

CLR RS1 , SETB RS0

c)

CLR RS1 , CLR RS0

d)

SETB RS1 , CLR RS0

7.

Number of binary 1's in accumulator is even then parity bit will be __________

a)

Reset

b)

Set

c)

-

d)

None of this

8.

If carry generates from bit D6 to D7 but not from D7 to out then _____________flag set

a)

Parity (P)

b)

Carry (CY)

c)

Auxillary carry (AC)

d)

Overflow (OV)

9.

After execution of following instruction what will be content of Accumulator? Which flag set?

MOV A,#40H

MOV B,#50H

ADD A,B

a)

90H , CY

b)

90H , AC

c)

90H , P

d)

90H , OV

10.

Which register bank will select after

CLR PSW.4

SETB PSW.3

a)

0

b)

1

c)

2

d)

3

11.

PSW is a bit addressable register.

a)

Flase

b)

True

c)

Dont know

d)

cannot say

12.

PSW is a bit addressable register.

a)

Flase

b)

True

c)

Dont know

d)

cannot say

13.

Special function Register (SFR) address of PSW is ______________________

a)

A0H

b)

B0H

c)

E0H

d)

D0H

14.

Find content of Accumulator ?

MOV A , # 0DEH

CPL A

A = ?

a)

22H

b)

23H

c)

20H

d)

21H

15.

Find CY = ?

MOV A , # 09H

RRC A

a)

0

b)

1

c)

-

d)

None of this

16.

Find CY=?

MOV A , #7FH

RLC A

CY=?

a)

1

b)

0

c)

-

d)

Non of this

17.

Find A = ?

MOV A , # 11H

DAA

A = ?

a)

11

b)

15

c)

16

d)

17

18.

MOV A , #03H

MOV B , #02H

CJNE A , B DN

DN : JNC Jump if not carrry is true or flase?

a)

FALSE

b)

TRUE

c)

-

d)

NONE OF THIS

19.

MOV A , # 02H

MOV B,#03H

CJNE A,B DN

DN: JNC


Jump if not carry condition will true or false

a)

True

b)

False

c)

-

d)

None of this

20.

MOV A , # 0ACH

CPL A

A = ?

a)

52H

b)

55H

c)

53H

d)

56H

21.

MOV A , # 0FH

INC A


A = ?

a)

17

b)

18

c)

10

d)

13