Está en la página 1de 6

(Page

1 of 6)

TE41

USN

Fourth Semester B. E. Degree (Autonomous) Semester End Examination, SEE, May 2015/June 2015

Department of Telecommunication Engineering


MICROPROCESSOR & MICROCONTROLLER
(Model Question Paper 1)
Maximum Marks: 100

Time: 3 Hours
Instructions to students:
1.
2.
3.
4.
1.

2.

a)

Answer FIVE FULL Questions.


Question No. 1, 2 and 7 are COMPULSORY.
Answer ANY ONE from Question No. 3 and 4
Answer ANY ONE from Question No. 5 and 6

Explain how memory segmentation is done in 8086 microprocessor.

[8 Marks]

b) Name and explain the flags of 8086 microprocessor.

[6 Marks]

c) What are the differences in the working of RISC and CISC processors.

[6 Marks]

a) Which are the register banks of 8051 microcontroller? Write

[6 Marks]

instructions to move
Immediate data 76h to register R3 of register bank 2.

b) Explain the MUL and DIV instructions in 8051 microcontroller with


examples.
c) Write an ALP for 8051 microcontroller to find the 2s complement of a

[8 Marks]
[6 Marks]

number
stored in memory location 35H and store the result in next
memory location.

3.

a) What are the different data types supported by 8051 microcontroller

[6 Marks]

for
programming in C? Explain with examples.

b) Write a C program for 8051 to convert packed BCD 0x45 to ASCII


[6 Marks]

display the bytes


on port1 and port2.

c) Explain the interrupt structure of 8051 microcontroller.

[8 Marks]

OR
4.

a) Explain the bit details of TCON register of 8051 microcontroller. How

[10 Marks]

do you calculate
The delay length using Timers?

Dr. Ambedkar Institute of Technology, Bangalore 560056


(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum & Aided by Govt. of Karnataka, India)

(Page

2 of 6)

b) Write a 8051 C program to toggle all the bits of P2 continuously for


500ms. Use Timer 1, mode 1 to create the delay.

5.

[10 Marks]

a) Explain SCON register with its bit pattern.

[7 Marks]

b) Write the steps required for programming 8051 to transfer data

[7 Marks]

serially.

c) Write an 8051 C program to transfer the message Timer serially and

[6 Marks]

continuously at
9600 baud, 8-bit data and 1 stop bit.

OR
6.

a) Explain the different handshaking signals of RS232 with relevant diagram.

[10 Marks]

b) Write an 8051 C program to transfer the letter C serially at 9600

[10 Marks]

baud continuously.

7.

a) Explain the procedure for interfacing ADC0804 with 8051 using timing

[10 Marks]

diagram.

b) With a connection diagram, explain how to interface DS12887 RTC


with 8051.

[10 Marks]

*******

Dr. Ambedkar Institute of Technology, Bangalore 560056


(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum & Aided by Govt. of Karnataka, India)

(Page

3 of 6)

TE41

USN

Fourth Semester B. E. Degree (Autonomous) Semester End Examination, SEE, May 2015/June 2015

Department of Telecommunication Engineering


MICROPROCESSOR & MICROCONTROLLER
(Model Question Paper 2)
Maximum Marks: 100

Time: 3 Hours
Instructions to students:
1.
2.
3.
4.
1.

a) Name and explain the different registers of 8086 microprocessor.

[8 Marks]

b) What is meant by real memory addressing mode? Explain.

[6 Marks]

c)

2.

Answer FIVE FULL Questions.


Question No. 1, 2 and 7 are COMPULSORY.
Answer ANY ONE from Question No. 3 and 4
Answer ANY ONE from Question No. 5 and 6

Explain the RISC processor architecture systems.

[6 Marks]

a) Explain the functions of Port 0 of 8051 microcontroller.

[5 Marks]

b) Explain the operation performed by the following instructions:

[8 Marks]

i) XCH A, direct

ii) CPL C

iii) INC @Ri iv) ANL A,Rn

c) With relevant figure, write a a sequence of events that occur in 8051

[7 Marks]

microcontroller
when the CALL and RET instructions are executed.

3.

a) Explain the function of each bit in TMOD register.

[6 Marks]

b) How can we set INT0 as level triggered interrupt and INT1 as edge

[8 Marks]

triggered interrupt?

Explain with the help of SFR related to it.

Dr. Ambedkar Institute of Technology, Bangalore 560056


(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum & Aided by Govt. of Karnataka, India)

(Page

c) Write an 8051C program to generate a square wave of 50% duty cycle

4 of 6)

[6 Marks]

on the pin P1.4.

OR
4.

a) Explain TMOD and TCON SFR registers of 8051 timers.

[10 Marks]

b) Write an 8051 C program to convert ASCII digits of any two values to

[10 Marks]

packed BCD
and display it on port 1.

5.

a) Explain full duplex, half duplex and simplex serial data transfer.

[6 Marks]

b) With relevant diagram, explain the method of examining RS232

[8 Marks]

c) Write a C program for the 8051 to transfer the letter M serially at

[6 Marks]

handshaking signals.

9600 baud
continuously. Use 8 bit data and 1 stop bit.

OR
6.

a) Explain the importance of TI flag in serial communication.

[4 Marks]

b) Write an 8051 ALP to receive the data which has been sent in serial

[8 Marks]

from and send it out in parallel form. Also save the data at RAM
c)

7.

location 60H.
Explain the signals of DB-9 9-Pin connector with a relevant diagram.

[8 Marks]

a) List and explain any three commonly used LCD command codes.

[6 Marks]

b) Explain the 4X4 keyboard interface with 8051 microcontroller.


c) Two switches are connected to pins P0.1 and P0.2. they are also

[8 Marks]
[6 Marks]

vectored to interrupt location 0003H. Explain the method to test


which key is pressed, or both keys are pressed.

*******

Dr. Ambedkar Institute of Technology, Bangalore 560056


(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum & Aided by Govt. of Karnataka, India)

(Page

5 of 6)

TE41

USN

Fourth Semester B. E. Degree (Autonomous) Semester End Examination, SEE, May 2015/June 2015

Department of Telecommunication Engineering


MICROPROCESSOR & MICROCONTROLLER
(Model Question Paper 3)
Maximum Marks: 100

Time: 3 Hours
Instructions to students:
1.
2.
3.
4.
1.

a) Explain how memory segmentation is done in 8086 microprocessor.

[8 Marks]

b) Name and explain the flags of 8086 microprocessor.

[6 Marks]

c)

2.

Answer FIVE FULL Questions.


Question No. 1, 2 and 7 are COMPULSORY.
Answer ANY ONE from Question No. 3 and 4
Answer ANY ONE from Question No. 5 and 6

What are the differences in the working of RISC and CISC processors?

a) Which are the register banks of 8051 microcontroller? Write

[6 Marks]

[6 Marks]

instructions to move
Immediate data 76h to register R3 of register bank 2.
Explain
the MUL and DIV instructions in 8051 microcontroller with
b)
examples.
c) an ALP for 8051 microcontroller to find the 2s complement of a

[8 Marks]
[6 Marks]

number

3.

a) What are the different data types supported by 8051 microcontroller

[6 Marks]

Dr. Ambedkar Institute of Technology, Bangalore 560056


(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum & Aided by Govt. of Karnataka, India)

(Page

6 of 6)

for
programming in C? Explain with examples.

b) Write a C program for 8051 to convert packed BCD 0x45 to ASCII

[6 Marks]

display the bytes


on port1 and port2.

c) Explain the interrupt structure of 8051 microcontroller.

[8 Marks]

OR
4.

a) Explain the bit details of TCON register of 8051 microcontroller. How

[10 Marks]

do you calculate
The delay length using Timers?

b) Write a 8051 C program to toggle all the bits of P2 continuously for

[10 Marks]

500ms. Use Timer 1, mode 1 to create the delay.

5.

a) Explain SCON register with its bit pattern.

[7 Marks]

b) Write the steps required for programming 8051 to transfer data

[7 Marks]

c) Write an 8051 C program to transfer the message Timer serially and

[6 Marks]

serially.

continuously at
9600 baud, 8-bit data and 1 stop bit.

OR
6.

7.

a) Explain the different handshaking signals of RS232 with relevant diagram.

[10 Marks]

b) Write an 8051 C program to transfer the letter C serially at 9600

[10 Marks]

baud continuously.
a) Explain the procedure for interfacing ADC0804 with 8051 using timing
diagram.
b) With a connection diagram, explain how to interface DS12887 RTC
with 8051.

[10 Marks]
[10 Marks]

*******

Dr. Ambedkar Institute of Technology, Bangalore 560056


(An Autonomous Institution Affiliated to Visvesvaraya Technological University, Belgaum & Aided by Govt. of Karnataka, India)

También podría gustarte