NEW
Font size
WorksheetsCAES Lab Viva 1 Batch 1
Total questions: 16
Worksheet time: 4mins
What is the results of the following DIV AB; A=77H;B=34H
A=02H;B=15H
A=02H;B=00H
A=02H;B=FFH
A=02H;B=0FH
In “JZ NEXT”, which registers content is checked to see if it is zero?
PROGRAM COUNTER
CARRY
REGISTER A
AUXILIARY CARRY
The mnemonic JNZ stands for _____________
Jump while Not zero
Jump on zero
Jump is Non-zero
Jump if Not zero
Every 8051 family member wakes up at address when it is powered up.
1000H
0000H
30H
9000H
8051 is a ..........bit microcontroller.
12
16
8
4
How many pins are available in 8051 IC
20
50
30
40
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?
04h
05h
FEh
03h
Which register is used for accessing external memory?
STACK POINTER
R0-R7
DATA POINTER
ACCUMULATOR
Find the CY and AC flags for the below instruction. MOV A, #99H
ADD A, #68H
A=0101H
CY=1, AC=0
CY=1, AC=1
CY=0, AC=1
Registers A and B are......... bits wide.
4
16
12
8
Which one is the legal instruction?
ADD A, #255H
MOV R9, R4
MOV A, R5
ADD R3, #50H
MOV A, #05H
MOV R0,#08H
SUBB A,R0
END.
What are the final results?
A=13H,AC=01H
A=0DH,C=00H
A=03H,C=00H
A=03H,C=01H
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
9010H
9009H
900AH
900BH
Which is the valid instruction ?
DIV AB
DIV A,B
DIVA B
DIV A,R0
Name the 16 bit registers in 8051.
Accumulator & Program counter
Data pointer & Accumulator
Data pointer & Program counter
Data Pointer & Stack pointer
Assembly language is a ______ level language
low
high
hybrid
Assembly
