0% found this document useful (0 votes)
488 views5 pages

Noc18 Ee33 Assignment12

The document discusses an assignment for a course on digital circuits and the 8085 microprocessor. It provides 11 multiple choice questions about 8085 instructions, registers, flags and addressing modes. It also includes feedback for incorrect answers selected by the student.

Uploaded by

Ayush mondal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
488 views5 pages

Noc18 Ee33 Assignment12

The document discusses an assignment for a course on digital circuits and the 8085 microprocessor. It provides 11 multiple choice questions about 8085 instructions, registers, flags and addressing modes. It also includes feedback for incorrect answers selected by the student.

Uploaded by

Ayush mondal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Digital Circuits - - Unit 12 - Week 11 : Unit 11 https://onlinecourses.nptel.ac.in/noc18_ee33/un...

[email protected]

Courses » Digital Circuits Announcements Course Ask a Question Progress Mentor FAQ

Unit 12 - Week 11 : Unit 11

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 2 : Unit 2 a. The number stored in the accumulator is a negative number.

b. The number stored in the accumulator is a positive number.


Week 3 : Unit 3
c. The number stored in the accumulator is a non-zero number.
Week 4 : Unit 4
d. None of the other options.
Week 5 : Unit 5 No, the answer is incorrect.
Score: 0
Week 6 : Unit 6
Accepted Answers:
b. The number stored in the accumulator is a positive number.
Week 7 : Unit 7
2) What is the difference between MOV and MVI instructions of an 8085 microprocessor? 1 point
Week 8 : Unit 8
a. MOV instruction copies data between two registers, whereas MVI instruction transfers an
Week 9 : Unit 9
immediate data into a register.

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

Lecture 55 : No, the answer is incorrect. Funded by


8085

1 of 5 Wednesday 07 November 2018 02:07 PM


Digital Circuits - - Unit 12 - Week 11 : Unit 11 https://onlinecourses.nptel.ac.in/noc18_ee33/un...

Microprocessor Score: 0 Powered by


(Contd.)
Accepted Answers:
Lecture d. A = 00, CY = 0, Z = 1
Materials
4) An RRC instruction in 8085 microprocessor instruction set will affect 1 point
Quiz :
Assignment 11
a. CY flag
Feedback for
Week 11 b. S flag

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

No, the answer is incorrect.


Score: 0
Accepted Answers:
c. Carry

6) Which of the following flags is not affected by a conditional branch statement in an 8085 1 point
microprocessor?

a. Auxiliary Carry flag

b. Sign flag

c. Carry flag

d. Zero flag

No, the answer is incorrect.


Score: 0
Accepted Answers:
a. Auxiliary Carry 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

No, the answer is incorrect.

2 of 5 Wednesday 07 November 2018 02:07 PM


Digital Circuits - - Unit 12 - Week 11 : Unit 11 https://onlinecourses.nptel.ac.in/noc18_ee33/un...

Score: 0
Accepted Answers:
b. 0, 65H

8) How many times will the following loop be executed? 1 point

XRA A
MVI C, 05H
LOOP: DCR C
JNZ LOOP

a. Once

b. Five times

c. Infinite times

d. Depends on the initial value of A

No, the answer is incorrect.


Score: 0
Accepted Answers:
b. Five times

9) The following instruction indicates which types of addressing mode? 1 point

LDAX B

a. Immediate address mode

b. Direct address mode

c. Indirect address mode

d. Implied address mode

No, the answer is incorrect.


Score: 0
Accepted Answers:
c. Indirect address mode

10)Which of the following is NOT a valid 8085 instruction? 1 point

a. PUSH PSW

b. PUSH B

c. PUSH C

d. PUSH D

No, the answer is incorrect.


Score: 0
Accepted Answers:
c. PUSH C

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

3 of 5 Wednesday 07 November 2018 02:07 PM


Digital Circuits - - Unit 12 - Week 11 : Unit 11 https://onlinecourses.nptel.ac.in/noc18_ee33/un...

No, the answer is incorrect.


Score: 0
Accepted Answers:
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

No, the answer is incorrect.


Score: 0
Accepted Answers:
a. A = 4A 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

No, the answer is incorrect.


Score: 0
Accepted Answers:
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.

a. LXI H, 3500 H MOV M, C

b. LXI C, 3500 H MOV C, M

c. LXI C, 46 H MOV C, M

d. LXI H, 3500 H MOV C, M

No, the answer is incorrect.


Score: 0
Accepted Answers:
d. LXI H, 3500 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

No, the answer is incorrect.


Score: 0
Accepted Answers:

4 of 5 Wednesday 07 November 2018 02:07 PM


Digital Circuits - - Unit 12 - Week 11 : Unit 11 https://onlinecourses.nptel.ac.in/noc18_ee33/un...

a. ADD A

Previous Page End

5 of 5 Wednesday 07 November 2018 02:07 PM

You might also like