wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CAES Lab Viva 1 Batch 1

Total questions: 16

Worksheet time: 4mins

Name
Class
Date
1.

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

a)

A=02H;B=15H

b)

A=02H;B=00H 

c)

A=02H;B=FFH

d)

A=02H;B=0FH 

2.

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

a)

PROGRAM COUNTER

b)

CARRY

c)

REGISTER A 

d)

AUXILIARY CARRY 

3.

The mnemonic JNZ stands for _____________ 

a)

Jump while Not zero 

b)

Jump on zero

c)

Jump is Non-zero

d)

Jump if Not zero

4.

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

a)

1000H

b)

0000H

c)

30H

d)

9000H

5.

8051 is a ..........bit microcontroller. 

a)

12

b)

16

c)

8

d)

4

6.

How many pins are available in 8051 IC 

a)

20

b)

50

c)

30

d)

40

7.

MOV R0,#30H

MOV A,@R0

MOV B,A

JZ L1

MUL AB

INC R0

MOV @R0,A

SJMP L2

L1:INC R0

MOV A,#0FFH

MOV @R0,A

L2:NOP

L3:SJMP L3

What is the hexcode of L2, if the starting address is 9000H?

a)

04h

b)

05h

c)

FEh

d)

03h

8.

Which register is used for accessing external memory? 

a)

STACK POINTER

b)

R0-R7 

c)

DATA POINTER 

d)

ACCUMULATOR

9.

Find the CY and AC flags for the below instruction. MOV A, #99H 

ADD A, #68H 

a)

A=0101H

b)

CY=1, AC=0 

c)

CY=1, AC=1 

d)

CY=0, AC=1 

10.

 Registers A and B are......... bits wide. 

a)

4

b)

16

c)

12

d)

8

11.

Which one is the legal instruction? 

a)

ADD A, #255H

b)

MOV R9, R4 

c)

MOV A, R5

d)

ADD R3, #50H 

12.
  1. MOV A, #05H

  2. MOV R0,#08H

  3. SUBB A,R0

  4. END. 

What are the final results? 

a)

A=13H,AC=01H

b)

A=0DH,C=00H

c)

A=03H,C=00H

d)

A=03H,C=01H 

13.
  1. MOV A, #00H 

MOV R0, #00H

MOV R1, #0AH

L1: MOV R2,#0FH

SJMP L1 

L2: SJMP L2 

Find the Hex code address of the 6th instruction. The starting address is 9000H 

a)

9010H

b)

9009H

c)

900AH

d)

900BH

14.

Which is the valid instruction ?

a)

DIV AB 

b)

DIV A,B

c)

DIVA B

d)

DIV A,R0

15.

Name the 16 bit registers in 8051. 

a)

Accumulator & Program counter 

b)

Data pointer & Accumulator 

c)

Data pointer & Program counter 

d)

Data Pointer & Stack pointer 

16.

Assembly language is a ______ level language

a)

low

b)

high

c)

hybrid

d)

Assembly