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
8051 Jump Loop and Call Ins
Quiz
•
Moral Science
•
University
•
Easy
Thanh Ngoc
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 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
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào trong các lệnh nhảy dưới đây là lệnh nhảy vô điều kiện:
LCALL addr16
DJNZ direct, rel
SJMP rel
ACALL addr11
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào dưới đây sẽ ảnh hưởng tới con trỏ ngăn xếp
LJMP
ADD
MOVC A, @A+PC
LCALL
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biết A = DBH R4 =73H CY=1, sau khi thực hiện dòng lệnh SUBB A, R4 sẽ có kết quả là:
A = 73H
A=DBH
A=67H
A=07H
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh để thực hiện lệnh chuyển dữ liệu trong ô nhớ của RAM nội tới thanh ghi A
MOVX A, @R0
MOV A ,#data
MOV A, @R0
MOVX A, @DPTR
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi thực hiện câu lệnh nào dưới đây không thay đổi nội dung của PC:
AJMP
MOV A, @A+PC
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biết A = 0D2H, (40H) = 77H, sau khi thực hiện câu lệnh ORL A, 40H kết quả sẽ là:
A=77H
A=F7H
A=D2H
A=87H
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade