wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

EMBEDED SYSTEMS LAB

Total questions: 15

Worksheet time: 18mins

Name
Class
Date
1.

  Every 8051 family member wakes up at address ____________ when it is powered up.

a)

9000H

b)

30H

c)

#30H

d)

0000H

2.

Name the 16 bit registers in 8051.

a)

Accumulator & Program counter

b)

Data pointer & Program counter

c)

Data pointer & Accumulator

d)

Data Pointer & Stack pointer

3.

Which is the valid instruction

a)

DIV A,B

b)

DIV AB

c)

DIV A,R1

d)

DIV A,R0

4.

Find the CY and AC flags for the below instruction.

MOV A, #99H

ADD A, #68H

a)

CY=1, AC=0

b)

CY=0, AC=1

c)

CY=1, AC=1

d)

101H

5.

  ORG 00H

MOV A, #76H

MOV R1, #04H

L1: RR A

DJNZ R1,L1

END

Find the final accumulator value.

a)

A=76H

b)

A=67H

c)

A=3BH

d)

A=70H

6.

  Registers ACC and B are ____________ bits wide.

a)

12

b)

8

c)

16

d)

4

7.

Which one is the illegal instruction?

a)

ADD R3, #50H

b)

ADD A, #255H

c)

MOV R9, R4

d)

MOV A, R5

8.

To mask lower nibble of the accumulator we must ANL it with ____________.

a)

F0H

b)

FFH

c)

01H

d)

0FH

9.

MOV A, #05H

MOV R0,#08H

SUBB A,R0

END.

What is the final results?

a)

A=03H,C=00H

b)

A=03H,C=01H

c)

A=13H,AC=01H

d)

A=0DH,C=00H

10.

MOV A, #00H

MOV R0, #00H

MOV R1, #0AH

L1: MOV R2,#0FH

SJMP L1

L2: SJMP L2

Find the Hex code of the L1 in 8051 trainer kit.The starting address is 9000H

a)

FCH

b)

FFH

c)

FEH

d)

03H

11.

Which is correct instruction?

a)

RR A,R1

b)

RRC A,R1

c)

RRC A,R0

d)

RRC A

12.

what is the results of the following DIV AB; A=77H;B=34H

a)

A=02H;B=15H

b)

A=02H;B=0FH

c)

A=02H;B=00H

d)

A=02H;B=FFH

13.

The instruction to load 1000 0000 (binary) into R3.

a)

MOV @R3,#1000 0000B

b)

MOV R3,#1000 0000H

c)

MOV R3,#80H

d)

MOV @R3,#80H

14.

In “JZ NEXT”, which registers content is checked to see if it is zero?

a)

PROGRAM COUNTER

b)

AUXILIARY CARRY

c)

CARRY

d)

REGISTER A

15.

The mnemonic JNZ stands for _____________

a)

Jump on zero

b)

Jump is Non-zero

c)

Jump if Not zero

d)

Jump while Not zero