Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
41 views6 pages

Questions - 2

This document provides information about a test for a course on Microprocessors, Microcontrollers and Interfacing Techniques including: - The course code, title, duration, year/semester, and maximum marks for the test - A course articulation matrix mapping the course outcomes to program outcomes and graduate attributes - The test contains two parts: - Part A consists of 10 multiple choice questions worth 1 mark each - Part B consists of 4 questions worth 10, 10, 10, and 10 marks respectively requiring explanations and diagrams The questions cover topics related to 8051 and 8086 microprocessors including registers, addressing modes, timers, interrupts, and serial communication interfaces.

Uploaded by

girishdsk2002
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)
41 views6 pages

Questions - 2

This document provides information about a test for a course on Microprocessors, Microcontrollers and Interfacing Techniques including: - The course code, title, duration, year/semester, and maximum marks for the test - A course articulation matrix mapping the course outcomes to program outcomes and graduate attributes - The test contains two parts: - Part A consists of 10 multiple choice questions worth 1 mark each - Part B consists of 4 questions worth 10, 10, 10, and 10 marks respectively requiring explanations and diagrams The questions cover topics related to 8051 and 8086 microprocessors including registers, addressing modes, timers, interrupts, and serial communication interfaces.

Uploaded by

girishdsk2002
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/ 6

SRM Institute of Science and Technology

College of Engineering and Technology


SET A
DEPARTMENT OF ECE
SRM Nagar, Kattankulathur – 603203, Chengalpattu District, Tamilnadu
Academic Year: 2021-2022 (EVEN)

Test: CLAT- 3 Date: 16-11-2022


Course Code & Title: 18ECC203J – Microprocessors, Microcontrollers and Interfacing Techniques
Duration: 2 periods
Year & Sem: III/ V Max. Marks: 50

Course Articulation Matrix:

18ECC203J - Microprocessor,
Microcontroller and Interfacing Program Outcomes (POs)
Techniques
Graduate Attributes PSO
COs Course Outcomes (COs) 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3
Apply a basic concept of digital fundamentals
CO-1 to Microprocessor based personal computer - 2 - - - - - - - - - - - - -
system
Demonstrate programming proficiency using
CO-2 the various addressing modes of the 8086 - 3 - - 2 - - - - - - 2 - - -
microprocessor
Develop interfacing techniques using various
CO-3 peripheral chips with microprocessor
- 2 3 - 3 - - - - - - - - - 1
Evaluate programming proficiency using the
CO-4 various addressing modes of the 8051 - 3 - - 2 - - - - - - 2 - - -
microcontroller
Construct a system to interface various
CO-5 peripheral chips with microcontroller
- 2 3 - 3 - - - - - - - - - 3
Implement the practical knowledge through
CO-6 laboratory experiments using microprocessor - - 3 - 3 - - - - - - 2 1 - 2
and microcontroller

Part - A
(10 x 1 = 10 Marks)

Q. No Question Marks BL CO PO
1. 8051 has__________________interrupts. 1 1 4 2
a. 3 b. 2 c. 5 d. 6
2. 8051 has ______________________special function register 1 1 4 2
a. 10 b. 15 c. 12 d. 21
3. Identify an invalid instruction given below. 1 2 4 2
a. MOV A,B b. MOV R1,R2
c. MOV 40H,A d. MOV A,#05H
4. When the 8051 is powered up, the SP register contains 1 1 4 2
______________value.
a. 00H b. FFH
c. 06H d. 07H

5. ____________ Bytes of locations are set aside for bit-addressable 1 1 4 2


memory.
a. 10 b. 16
c. 13 d. 11
6. Timer 0 operates in ________________modes. 1 1 5 3
a. 1 b. 3
c. 5 d. 4
7. SBUF register is ____________register. 1 1 5 3
a. 4-bit b. 16-bit
c. 12-bit d. 8-bit
8. PCON register is related to_________________. 1 2 5 3
a. Timer b. Counter
c. Interrupts d. Serial port
9. The roll over value of Timer 1 in mode 2 is_________________ 1 2 5 3
a. FFFFH-0000H b. 1FFFH-0000H
c. FFH-00H d. 1FH-00H
10. To control the timer by software, the __________________is set 1 2 5 3
to zero
a. Gate b. TRx
c. TFx d. INT
Part – B
(4 x 10 = 40 Marks)
SECTION B1
Instructions: Answer ANY 2 Questions
11 a. Draw the bit pattern of program status word register 5 2 4 2
and explain.

2M

3M

b. Explain in detail about 8051 5 2 4 2


stack.
5M

12 a. Write the single instruction to perform the following 4 3 4 2


operations.
i. To change the contents of accumulator from 85H in
to 58H--------SWAP A,
ii. To set the carry flag------SETB C
Each
iii. To set any bit---------SETB BIT 1M
iv. Logical instruction to copy the content FFH into
accumulator-----ORL A,FFH
b. Show the code to push R5 and A on to the stack and 6 4 4 2
pop back them into R2 and B, Where B=A and
R2=R5. Also show the stack and SP value after
pushing content on to stack. Assume the default
stack area.

3M

Stack PUSH 05 PUSH 0E0


OB 0B 0B
0A 0A 0A
09 09 09 3M
08 08 08
Start SP=07 SP=08 SP=09
13 a. Identify the addressing modes and comment on it. 10 3 4 2
i. MOV A,B----Register addressing mode
Uses registers to hold the data(operand) to
be manipulated
ii. MOVC A,@A+PC----Indexed addressing
The MOVC instruction moves a byte from
the code or program memory to the
accumulator. The address of an operand is Each
specified in PC and A. 2M
iii. MOV 40H,40H--------Direct addressing
The address of an operand to be
manipulated is directly given as operand in
an instruction.
iv. MOV A,#05H-----Immediate addressing
Operand to be manipulated is directly
specified as constant or immediate number
in an instruction.
v. MOVX A,@DPTR----External
Direct/Indexed Addressing
The MOVX instruction moves a byte from
the external data memory to the
accumulator. The address of an operand is
specified in DPTR.
SECTION B2
Instructions: Answer ANY 2 Questions
14 Interface an EPROM of size 4kB and RAM size of 8kB with 10 3 5 3
8051. The EPROM address starts at 0000H and RAM
address starts at 8000H.
Determination of Address lines for EPROM and ROM

2M

Address map for EPROM and RAM

3M

Chip Select of the EPROM

1M

Chip select of the RAM

1M

Interfacing
Diagram

3M
15 a. Indicate which mode and which timer is 6 3 5 3
selected for the following.
i. MOV TMOD,#01H
ii. MOV TMOD,#20H
iii. MOV TMOD,#12H

TMOD Register Format

2M

Convert the given TMOD value from hex to binary.


Use TMOD register format to determine mode of 4M
operation and Timer.
i. TMOD=00000001, Mode 1 of Timer 0 is selected.
ii. TMOD=00100000, Mode 2 of Timer 1 is selected.
iii. TMOD=00010010, Mode 2 of Timer 0, and Mode 1
of Timer 1 are selected.

b. Explain the function of SBUF register. 4 2 5 3

4M

16 a. Write the programming steps to transmit and 10 3 5 3


receive the data for serial
communication.

5M
5M

You might also like