
8051 instruction set, addressing modes-2

Quiz
•
Professional Development
•
University
•
Easy
001_submission ece
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
MOV A, #56H
MOV R1, #50H
MOV 50H, # 45H
XCHD A, @R1
What is the result at A, R1?
56H, 45H
45H, 50H
50H, 56H
45H, 56H
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following instruction is used to set bit port directly?
SET P1.0
MOV P1.0, bit
SETB P1.0
JB P1.0, bit
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
SP of 8051 is of ___ wide and it is loaded with the default value of ___ after reset.
2 byte, 08H
8 bit, 07H
1 byte, 09H
8 bit, 06H
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Find the number of times the following loop will be executed
MOV R6,#200
BACK:MOV R5,#100
HERE:DJNZ R5, HERE
DJNZ R6,BACK
END
100
200
20000
2000
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Do the two instructions mean the same?
1) BACK: DEC R0
JZ BACK
2) BACK: DJNZ RO, BACK
yes
no
cant be determined
yes and the second one is preferred
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which instruction is used to check the status of a single bit?
MOV A,P0
ADD A,#05H
JNB PO.0, label
CLR P0.05H
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
9. Which of the following comes under the indexed addressing mode?
MOVX A, @DPTR
MOVC @A+DPTR,A
MOV A,R0
MOV @R0,A
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
8051 programming quiz

Quiz
•
University
14 questions
L2 Plumbing Common Plumbing Processes Knowledge Test

Quiz
•
University - Professi...
10 questions
CNS-2nd QUIZ

Quiz
•
University
10 questions
Fundamentals Week 8.2

Quiz
•
University
10 questions
Circuitos Combinacionales LSI

Quiz
•
University
14 questions
Plagiarism

Quiz
•
10th Grade - University
13 questions
Young Sheldon Ep11

Quiz
•
University
8 questions
Job Interview - answering interview questions

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade