NEW
Font size
WorksheetsEMBEDED SYSTEMS LAB
Total questions: 15
Worksheet time: 18mins
Every 8051 family member wakes up at address ____________ when it is powered up.
9000H
30H
#30H
0000H
Name the 16 bit registers in 8051.
Accumulator & Program counter
Data pointer & Program counter
Data pointer & Accumulator
Data Pointer & Stack pointer
Which is the valid instruction
DIV A,B
DIV AB
DIV A,R1
DIV A,R0
Find the CY and AC flags for the below instruction.
MOV A, #99H
ADD A, #68H
CY=1, AC=0
CY=0, AC=1
CY=1, AC=1
101H
ORG 00H
MOV A, #76H
MOV R1, #04H
L1: RR A
DJNZ R1,L1
END
Find the final accumulator value.
A=76H
A=67H
A=3BH
A=70H
Registers ACC and B are ____________ bits wide.
12
8
16
4
Which one is the illegal instruction?
ADD R3, #50H
ADD A, #255H
MOV R9, R4
MOV A, R5
To mask lower nibble of the accumulator we must ANL it with ____________.
F0H
FFH
01H
0FH
MOV A, #05H
MOV R0,#08H
SUBB A,R0
END.
What is the final results?
A=03H,C=00H
A=03H,C=01H
A=13H,AC=01H
A=0DH,C=00H
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
FCH
FFH
FEH
03H
Which is correct instruction?
RR A,R1
RRC A,R1
RRC A,R0
RRC A
what is the results of the following DIV AB; A=77H;B=34H
A=02H;B=15H
A=02H;B=0FH
A=02H;B=00H
A=02H;B=FFH
The instruction to load 1000 0000 (binary) into R3.
MOV @R3,#1000 0000B
MOV R3,#1000 0000H
MOV R3,#80H
MOV @R3,#80H
In “JZ NEXT”, which registers content is checked to see if it is zero?
PROGRAM COUNTER
AUXILIARY CARRY
CARRY
REGISTER A
The mnemonic JNZ stands for _____________
Jump on zero
Jump is Non-zero
Jump if Not zero
Jump while Not zero
