Вы находитесь на странице: 1из 6

Microprocessors and Microcontrollers - - Unit 4... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

reviewer2@nptel.iitm.ac.in ▼

Courses » Microprocessors and Microcontrollers

Announcements Course Ask a Question Progress Mentor

Unit 4 - Week 3

Course
outline
Week 3 Assignment
The due date for submitting this assignment has passed. Due on 2018-02-14, 23:59 IST.
How to access
the portal Submitted assignment

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

Week 2 XRA A
MVI C, 05H
Week 3 LOOP: DCR C
JNZ LOOP
Lecture 12 :
8085
Depends on the initial value of A
Microprocessors
(Contd.) Five times
Lecture 13 : Infinite times
8085
Microprocessors Once
(Contd.)
No, the answer is incorrect.
Lecture 14 : Score: 0
8085
Microprocessors Accepted Answers:
(Contd.) Five times

Lecture 15 : 2) Which of the following flags is not affected by a conditional branch 1 point
8085 statement in an 8085 microprocessor?
Microprocessors
(Contd.)
Sign flag
Lecture 16 :
Auxiliary Carry flag
8085
Microprocessors Zero flag
(Contd.)
Carry flag
Week 3 Lecture
Slides No, the answer is incorrect.
Quiz : Week 3 Score: 0
Assignment Accepted Answers:
Week 3 Auxiliary Carry flag
Assignment
3) The interrupt in an 8085 microprocessor that is not affected by the 1 point
Answers
value of the Interrupt Enable (IE) flip flop is

© 2014 NPTEL - Privacy & Terms - Honor Code - FAQs -


A project of In association with

Funded by

1 of 6 Wednesday 16 May 2018 04:56 PM


Microprocessors and Microcontrollers - - Unit 4... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

No, the answer is incorrect.


Powered by
Week 8
Score: 0

Week 9 Accepted Answers:


TRAP
Week 10
4) Which of the following statements regarding 8085 interrupts is FALSE? 1 point

Week 11
An interrupt can either be a maskable or a non-maskable one.
Week 12 An interrupt is a process that starts from an I/O device and is
asynchronous.
DOWNLOAD
VIDEOS An interrupt is serviced only after the microprocessor completes the
execution of its current program.
An interrupt can either be a vectored or a non-vectored one.
No, the answer is incorrect.
Score: 0
Accepted Answers:
An interrupt is serviced only after the microprocessor completes the execution of
its current program.
5) What are the status of the ZERO flag and the contents of the 1 point
accumulator after the 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

0, 00H

1, 65H

0, 65H

1, 00H

No, the answer is incorrect.


Score: 0
Accepted Answers:
0, 65H

6) Determine the operand type of the following 8085 instruction. 1 point

ADD C

Register
Memory address
Immediate data
Implied operand
No, the answer is incorrect.
Score: 0
Accepted Answers:
Register
7) How many bytes does the following set of instructions occupy? 1 point
MVI A, 35H
MVI B, 23H
ADD B

Six bytes

Five bytes

2 of 6 Wednesday 16 May 2018 04:56 PM


Microprocessors and Microcontrollers - - Unit 4... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

Three bytes

Four bytes

No, the answer is incorrect.


Score: 0
Accepted Answers:
Five bytes

8) Which of the following control signals must be shown in a timing 1 point


diagram of an 8085 microprocessor?

⎯⎯⎯⎯⎯ ⎯⎯⎯⎯⎯⎯
ALE, INTR, RD , WR

ALE, INTR, S0 , S1

⎯⎯⎯⎯ ⎯⎯⎯⎯⎯ ⎯⎯⎯⎯⎯⎯


ALE, IO/M , RD , WR

⎯⎯⎯⎯ ⎯⎯⎯⎯⎯
ALE, INTR, IO/M , RD
No, the answer is incorrect.
Score: 0
Accepted Answers:
⎯⎯⎯⎯ ⎯⎯⎯⎯⎯ ⎯⎯⎯⎯⎯⎯
ALE, IO/M , RD , WR
9) Determine the instruction, as well as its starting address, for the 1 point
following timing diagram.

Instruction: MVI B, 26h. Starting Address: 2626h.


Instruction: MOV B, 26h. Starting Address: 2626h.
Instruction: MOV B, 26h. Starting Address: 2627h.
Instruction: MVI B, 26h. Starting Address: 2627h.

3 of 6 Wednesday 16 May 2018 04:56 PM


Microprocessors and Microcontrollers - - Unit 4... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

No, the answer is incorrect.


Score: 0
Accepted Answers:
Instruction: MVI B, 26h. Starting Address: 2626h.
10)Which of the following statements about the stack in an 8085 1 point
microprocessor is FALSE?

Information is retrieved on the stack by popping it off.


Stack is a last-in-first-out structure.
Information is saved on the stack by pushing on it.
Size of the register associated with the stack is 8 bits.
No, the answer is incorrect.
Score: 0
Accepted Answers:
Size of the register associated with the stack is 8 bits.
11)Which of the following operations on stack is an invalid one? 1 point

LXI SP, 0FFFH


POP C
SPHL
PUSH PSW
No, the answer is incorrect.
Score: 0
Accepted Answers:
POP C
12)The Program Status Word register pair in an 8085 microprocessor is 1 point
realized as the pair of which of the following registers?

Program Counter and Flag Register


Program Counter and Stack Pointer
Program Counter and Accumulator
Accumulator and Flag Register
No, the answer is incorrect.
Score: 0
Accepted Answers:
Accumulator and Flag Register
13)Which of the following statements regarding CALL and RET 1 point
instructions is FALSE?

In an 8085 program, the first CALL instruction may appear before the
first RET instruction
An 8085 program may contain multiple RET instructions
In an 8085 program, the first RET instruction may appear before the
first CALL instruction
An 8085 program may contain multiple CALL instructions
No, the answer is incorrect.
Score: 0
Accepted Answers:
In an 8085 program, the first RET instruction may appear before the first CALL
instruction

4 of 6 Wednesday 16 May 2018 04:56 PM


Microprocessors and Microcontrollers - - Unit 4... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

14)What will be the contents of the registers A, B, and C, respectively, 1 point


after the execution of the following 8085 program?

MVI C, 03H
LXI H, 2000H
MOV A, M
DCR C
L1: INX H
MOV B, M
CMP B
JNC L2
MOV A, B
L2: DCR C
JNZ L1
STA 2100H
HLT
Contents of the memory locations are as follows.

2000H: 18H
2001H: 10H
2002H: 2BH

2BH, 2AH, and 01H


2BH, 2BH, and 02H
2AH, 2BH, and 01H
2BH, 2BH, and 01H
No, the answer is incorrect.
Score: 0
Accepted Answers:
2BH, 2BH, and 01H
15)If an 8085 microprocessor works at a frequency of 1 MHz, determine 1 point
the total delay of the following sequence of instructions (in seconds).

MVI A, 0FH
MVI B, 0FH
L1: DCR B
JNZ L1

223μs

221μs

224μs

222μs
No, the answer is incorrect.
Score: 0
Accepted Answers:
221μs

Previous Page End

5 of 6 Wednesday 16 May 2018 04:56 PM


Microprocessors and Microcontrollers - - Unit 4... https://onlinecourses.nptel.ac.in/noc18_ec03/un...

6 of 6 Wednesday 16 May 2018 04:56 PM

Вам также может понравиться