Академический Документы
Профессиональный Документы
Культура Документы
reviewer2@nptel.iitm.ac.in ▼
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
Funded by
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
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
Three bytes
Four bytes
⎯⎯⎯⎯⎯ ⎯⎯⎯⎯⎯⎯
ALE, INTR, RD , WR
ALE, INTR, S0 , S1
⎯⎯⎯⎯ ⎯⎯⎯⎯⎯
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.
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
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
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