Академический Документы
Профессиональный Документы
Культура Документы
reviewer3@nptel.iitm.ac.in ▼
Courses » Digital Circuits Announcements Course Ask a Question Progress Mentor FAQ
Course
outline
Assignment 11
The due date for submitting this assignment has passed.
How to access As per our records you have not submitted this Due on 2018-10-17, 23:59 IST.
the portal assignment.
Week 1 : Unit 1 1) If the sign flag is set to ZERO in an 8085 microprocessor, it means the following. 1 point
Week 10 : Unit b. MVI instruction copies data between two registers, whereas MOV instruction transfers an
10 immediate data into a register.
c. Both MOV and MVI instructions transfer an immediate data into a register.
Week 11 : Unit 11
d. Both MOV and MVI instructions copy data between two registers.
Lecture 51 :
8085 No, the answer is incorrect.
Microprocessor
Score: 0
(Contd.)
Accepted Answers:
Lecture 52 :
a. MOV instruction copies data between two registers, whereas MVI instruction transfers an immediate data
8085
Microprocessor into a register.
(Contd.)
3) After the execution of the instruction XRA A the contents of A, carry and zero flags are 1 point
Lecture 53 : respectively
8085
Microprocessor a. A = 00, CY = 1, Z = 0
(Contd.)
© 2014b.NPTEL - Privacy
A = 00, CY = 0,&ZTerms
= 0 - Honor Code - FAQs -
Lecture 54 :
A project
8085of In association with
c. A = 00, CY = 1, Z = 1
Microprocessor
(Contd.) d. A = 00, CY = 0, Z = 1
c. Z flag
Week 12
d. CY, S, Z flag
Download
Videos No, the answer is incorrect.
Score: 0
Assignment Accepted Answers:
Solution a. CY flag
Interactive 5) In 8085 addition which of the following flags are set when the addition of MSBs is more 1 point
Session with than 10?
Students
a. Zero
b. Overflow
c. Carry
d. Auxiliary carry
6) Which of the following flags is not affected by a conditional branch statement in an 8085 1 point
microprocessor?
b. Sign flag
c. Carry flag
d. Zero flag
7) What are the status of the ZERO flag and the contents of the accumulator after the 1 point
execution of the following 8085 assembly code? Assume that contents of all other registers and
memory locations are unknown.
MOV A, 65H
MOV B, 32H
CMP B
a. 0, 00H
b. 0, 65H
c. 1, 00H
d. 1, 65H
Score: 0
Accepted Answers:
b. 0, 65H
XRA A
MVI C, 05H
LOOP: DCR C
JNZ LOOP
a. Once
b. Five times
c. Infinite times
LDAX B
a. PUSH PSW
b. PUSH B
c. PUSH C
d. PUSH D
11)How many bytes does the following set of instructions occupy? 1 point
MVI A, 35H
MVI B, 23H
ADD B
a. Four bytes
b. Six bytes
c. Three bytes
d. Five bytes
12)Suppose initially the accumulator content is 95 H and carry flag is 0. What will be the 1 point
contents of accumulator and carry flag after the execution of the instruction RAR? (H stands for
hexadecimal representation)
a. A = 4A H, Carry flag = 1
b. A = CA H, Carry flag = 0
c. A = CA H, Carry flag = 1
d. A = 2A H, Carry flag = 1
13)Suppose initially the accumulator content is 95H and carry flag is 0. What will be the 1 point
contents of accumulator and carry flag after the execution of the instruction RLC? (H stands for
hexadecimal representation)
a. A = 2A H, Carry flag = 1
b. A = 2A H, Carry flag = 0
c. A = 2B H, Carry flag = 0
d. A = 2B H, Carry flag = 1
14)Which of the following set of instructions moves the contents of memory location 3500H to 1 point
register C? The contents of memory location 3500 H is 46 H.
c. LXI C, 46 H MOV C, M
15)Which of the following instructions will multiply the contents of the accumulator by 2? 1 point
a. ADD A
b. RAR
c. XRA A
d. ANA A
a. ADD A