Sei sulla pagina 1di 2

Reg. No.

136S 4L C
FOUR YEAR B.TECH. DEGREE EXAMINATION - APRIL 2016.

SIXTH SEMESTER EXAMINATION


MICROPROCESSORS AND MICROCONTROLI,BRS (MPMC)
(scHEME - 2013)
(Common to IICE, IIEE)

Max. Marks:70
Note : Question No. 1 is compulsory and it must be answ'ered first in Sequence
at one place only.

Answer any !'OUR from the remaining.

Question No. 1 carries 10 marks and remaining questions carry 15 marks each.
1. (a) How does an instruction differ from directive?'
(b) For which instructions maximum numtrer of machine cycles needed?
(c) Define NMI.
(d) Write the instructions to add 18 H and BCH. Place the resuit in R5.
(e) What is an offset address?
(0 How many interrupts we have in 8051?
(g) Why the following is invalid?
14OV R2, DPTR.
(h) At what memory location do we store the first opcode of an 8051
program?
(i) Which registers are the common registers for all the four channels of
8257?
CI) Compare JMP and RET?

2. (a) Give different addressing modes of 8086 microprocessor with examples.


(7)

(b) Explain the following assembly directives with examples?


(i) DB
(ii) sEG
(iii) OFFSET
, (iv) I"ABEL. (8)

Turn Over
3. (a) Discuss different instruction formats of an g0g6
microprocessor. (g)
(b) write a program for the conversion of BCD to ASCII and store
corresponding ASCII result in 2050H memory iocation? (7)
4. (a) Describe any one interfacing application regarding g2bb.
(7)
@) with a neat skerch explain the functionar diagra m of gzs4?
(g;
5. (a) Explain in detait about the method,s of interfacing of
I/o devices. (g)
(b) Briefly explain about the programmable Dil{A controller.
(7)
6. (a) Explain the following registers.
(i) SCON
(ii) PCON
(iii) rE
(iv) TMOD.
(8)
(b) How the stepper motor is interfaced to g0b1? Explain.
(7)

7. (a) write a program to display'rsuccEsS" string on LED,s by interfacing


to
8051? (e)
(b) In 8051, which port supports interrupt signals? Give its alternate
functions also? , (6)

()
136S4tC

Potrebbero piacerti anche