Sie sind auf Seite 1von 5

Microprocessors and Microcontrollers - - Unit 7... 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 7 - Week 6

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

Week 1 1)With respect to an 8051 microcontroller, match Column X with Column Y. 1 point
Column X Column Y
Week 2
1. MOV A, #25H 1. Indexed Addressing Mode

Week 3 2. MOV R6, A 2. Register Indirect Addressing Mode


3. MOV 56H, A 3. Register Addressing Mode
Week 4
4. MOV @R0, A 4. Direct Addressing Mode
Week 5 5. MOVC A, @A+DPTR        5. Immediate Addressing Mode

Week 6 X1 – Y1, X2 – Y2, X3 – Y3, X4 – Y4, X5 – Y5


Lecture 27: X1 – Y2, X2 – Y3, X3 – Y4, X4 – Y5, X5 – Y1
8051
Microcontroller(Contd.)
X1 – Y5, X2 – Y3, X3 – Y4, X4 – Y2, X5 – Y1

Lecture 28:
X1 – Y5, X2 – Y4, X3 – Y3, X4 – Y2, X5 – Y1
8051
No, the answer is incorrect.
Microcontroller(Contd.)
Score: 0
Lecture 29:
Accepted Answers:
8051
Microcontroller(Contd.) X1 – Y5, X2 – Y3, X3 – Y4, X4 – Y2, X5 – Y1

Lecture 30: 2) Which of the following statements is TRUE with respect to an 8051 1 point
8051 microcontroller?
Microcontroller(Contd.)

Lecture 31:
The SFR address of the register PSW is 0E0H
8051 The SFR TMOD is a bit-addressable one
Microcontroller(Contd.)
The SFR P2 corresponds to the Port 3 of the microcontroller
Week 6 Lecture
Material The SFR instruction MOV P1, A is same as MOV 90H, A
Quiz : Week 6 No, the answer is incorrect.
Assignment Score: 0
Feedback for Accepted Answers:
week 6 The SFR instruction MOV P1, A is same as MOV 90H, A
© 2014 NPTEL - Privacy & Terms - Honor Code - FAQs -
Week 6
A project of 3) If CY = 1, A = 95H, and BIn= 4FH prior
association withto the execution of “SUBB A, 1 point
Assignment
Answers B”, what will be the contents of A after the subtraction?

Week 7 46H
Funded by
45H

1 of 5 Wednesday 16 May 2018 04:58 PM


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

Week 8 BAH Powered by

B9H
Week 9
No, the answer is incorrect.
Week 10 Score: 0
Accepted Answers:
Week 11
45H

Week 12 4) The instruction ‘MOV A, #36H’ is followed by the instruction ‘RR’ 354 1 point
times. What will be the contents of the register A after the 8085
DOWNLOAD microcontroller executes the above set of instructions?
VIDEOS
1BH

8DH

6CH

D8H

No, the answer is incorrect.


Score: 0
Accepted Answers:
8DH

5) How many times the ‘RL’ instruction needs to be executed, in order 1 point
to mimic the ‘SWAP’ instruction in an 8051 microcontroller?

24

26

28

30

No, the answer is incorrect.


Score: 0
Accepted Answers:
28

6) What can one infer from the instruction ‘MOV TMOD, #02H’ in an 1 point
8051 microcontroller?

Set Timer 1 in 13-bit timer operating mode


Set Timer 0 in 13-bit timer operating mode
Set Timer 1 in 8-bit auto reload timer mode
Set Timer 0 in 8-bit auto reload timer mode
No, the answer is incorrect.
Score: 0
Accepted Answers:
Set Timer 0 in 8-bit auto reload timer mode
7) In an 8051 microcontroller, it is required to configure the least 1 point
significant four bits of port P0 as input. The statement for this is

MOV P0, #0FH


MOV P0, 0FH
MOV P0, #F0H
MOV P0, F0H
No, the answer is incorrect.

2 of 5 Wednesday 16 May 2018 04:58 PM


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

Score: 0
Accepted Answers:
MOV P0, #0FH
8) If the crystal connected to an 8051 microcontroller is of 10 MHz, the 1 point
length of its machine cycle will be

1.4 microseconds
1.2 microseconds
1.0 microseconds
1.6 microseconds
No, the answer is incorrect.
Score: 0
Accepted Answers:
1.2 microseconds
9) If the crystal connected to an 8051 microcontroller is of 10 MHz, the 1 point
length of its machine cycle will be

0.8 microseconds
0.6 microseconds
1.0 microseconds
1.2 microseconds
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.8 microseconds
10)Which of the following flags are affected by the instruction ‘DIV AB’ 1 point
of an 8051 microcontroller?

OV, CY, AC
OV, AC
OV, CY
CY, AC
No, the answer is incorrect.
Score: 0
Accepted Answers:
OV, CY
1.11)What will be the contents of the registers R5 and R6 after the following instructions are 1 point
executed?
MOV DPTR,#23FF H
MOV R5,DPL
MOV R6,DPH

R5=23H,R6=FFH
R5=24H,R6=FFH
R5=FFH,R6=23H
R5=FFH,R6=24H
No, the answer is incorrect.
Score: 0
Accepted Answers:

3 of 5 Wednesday 16 May 2018 04:58 PM


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

R5=FFH,R6=23H

. 12)
What will be the address of the memory location whose contents will be 1 point
present in the Accumulator after the following set of instructions are executed?
MOV DPTR, #2004H
MOV A, #4
MOVC A, @A + DPTR

2008H

2000H

20H

04H

No, the answer is incorrect.


Score: 0
Accepted Answers:
2008H

13)Which of the following option is true if the following set of 1 point


instructions is executed separately?
Instruction 1: MOVX @DPTR,A
Instruction 2: MOVX @R0,A

For Instruction 1, Accumulator is moved to the 16-bit External Memory


address.
For Instruction 2, Accumulator is moved to the 16-bit External Memory
address.
For Instruction 1, Accumulator is moved to the 8-bit External Memory
address.
For Instruction 2, Accumulator is moved to the 16-bit External Memory
address.
For Instruction 1, Accumulator is moved to the 8-bit External Memory
address.
For Instruction 2, Accumulator is moved to the 8-bit External Memory
address.
For Instruction 1, Accumulator is moved to the 16-bit External Memory
address.
For Instruction 2, Accumulator is moved to the 8-bit External Memory
address.
No, the answer is incorrect.
Score: 0
Accepted Answers:
For Instruction 1, Accumulator is moved to the 16-bit External Memory address.
For Instruction 2, Accumulator is moved to the 8-bit External Memory address.
14)MOV SP, #0X50 1 point
PUSH 0X20
PUSH 0X35
POP 0X30
PUSH 0X24
POP 0X40
Which of the following is true?

M[SP] ß M[35], M[40] ß M[20], M[30] ß M[24]


M[SP] ß M[24], M[40] ß M[35], M[30] ß M[20]
M[SP] ß M[20], M[40] ß M[24], M[30] ß M[35]

4 of 5 Wednesday 16 May 2018 04:58 PM


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

M[SP] ß M[20], M[40] ß M[24], M[30] ß M[52]


No, the answer is incorrect.
Score: 0
Accepted Answers:
M[SP] ß M[20], M[40] ß M[24], M[30] ß M[35]
15)What is the value of the bits 4-7 of R0 after the following set of 1 point
instructions are executed?
MOV @R0, #04H
MOV A, #11H
XCHD A, @R0

0H

4H

5H

1H

No, the answer is incorrect.


Score: 0
Accepted Answers:
0H

Previous Page End

5 of 5 Wednesday 16 May 2018 04:58 PM