code no: 09a50506 r09 jawaharlal nehru … · microprocessors and interfacing ... write an assembly...

1
Code No: 09A50506 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY, HYDERABAD B. Tech III Year I Semester Examinations, May/June – 2013 Microprocessors and Interfacing (Computer Science and Engineering) Time: 3 hours Max. Marks: 75 Answer any five questions All questions carry equal marks - - - 1.a) Explain the architecture of 8085 microprocessor with a neat structure. b) Discuss the following addressing modes of 8086 microprocessor: i) Indexed ii) Register Relative iii) Register. [9+6] 2. Write in detail about the following instructions with examples: a) CMPSB b) LODS c) MOVSW d) REPZ e) SUBB. [15] 3. Explain the working of DMA controller with a neat block diagram. [15] 4. Write an assembly language program to interface keyboard to 8086 processor using 8255. Do the necessary initializations. [15] 5.a) Explain the sequence of events that happen when an interrupt signal is given to 8086 processor. b) Draw the interrupt vector table structure and explain. [15] 6.a) Explain the difference between 20mA current loop and RS232-C standard. b) Explain the registers of 8251 USART. [15] 7.a) Explain the internal RAM organization of 8051 controller. b) Discuss in detail the following instructions of 8051: i) SWAP ii) DEC iii) CJNE iv) DJNZ. [15] 8.a) Differentiate between the timer and counter operations of 8051 controller. b) Explain the level triggered and edge triggered interrupts of 8051 and the necessary pins. [15] ******** R09 equence of events or. errupt vector table stru fference between 20m A c isters of 8251 USA AM o B. MA controller wi ge progr to inte initiali zations. at ha ppen equence of events o e uctur fference between 20m A c iste SA AM o B. MA controller wi ge pro te in hat ha ppen nce of e pt vector table nce between of 8251 r to i zations trol f 80 pera cou tim etw eren a) [15 Z. iv CJN 805 ucti win il th uss b) and RS2 loo A c A A c twe we we fere ain a) e cture and explain. [15 pt vector tab up pt b) Draw th p when an interrupt signal is given t at h at h t h eve e que q a) Explain at [15 zat i z z g 8255. Do the necessary MOV LOD MP roce 86 m ode dre s low uss b) l m arr ues s: 7 Max. urs me erfa rs a opr D DE SIT UN OG ECH EH AR JA i i www.jntuking.com www.jntuking.com www.jntuking.com

Upload: vankiet

Post on 27-Jul-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Code No: 09A50506 R09 JAWAHARLAL NEHRU … · Microprocessors and Interfacing ... Write an assembly language program to interface keyboard to 8086 processor ... JAWAHARLAL NEHRU TECHNOLOGICAL

Code No: 09A50506

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY, HYDERABAD

B. Tech III Year I Semester Examinations, May/June – 2013

Microprocessors and Interfacing

(Computer Science and Engineering)

Time: 3 hours Max. Marks: 75

Answer any five questions

All questions carry equal marks

- - -

1.a) Explain the architecture of 8085 microprocessor with a neat structure.

b) Discuss the following addressing modes of 8086 microprocessor:

i) Indexed ii) Register Relative iii) Register. [9+6]

2. Write in detail about the following instructions with examples:

a) CMPSB b) LODS c) MOVSW

d) REPZ e) SUBB. [15]

3. Explain the working of DMA controller with a neat block diagram. [15]

4. Write an assembly language program to interface keyboard to 8086 processor

using 8255. Do the necessary initializations. [15]

5.a) Explain the sequence of events that happen when an interrupt signal is given to

8086 processor.

b) Draw the interrupt vector table structure and explain. [15]

6.a) Explain the difference between 20mA current loop and RS232-C standard.

b) Explain the registers of 8251 USART. [15]

7.a) Explain the internal RAM organization of 8051 controller.

b) Discuss in detail the following instructions of 8051:

i) SWAP ii) DEC

iii) CJNE iv) DJNZ. [15]

8.a) Differentiate between the timer and counter operations of 8051 controller.

b) Explain the level triggered and edge triggered interrupts of 8051 and the

necessary pins. [15]

********

R09

using 8255. Do the necessary initiali

) Explain the sequence of events that ha

8086 processor.

) Draw the interrupt vector table structure and explain. [15]

6.a) Explain the difference between 20mA current loop and RS232-C standard.

b) Explain the registers of 8251 USART. [15]

7.a) Explain the internal RAM organization of 8051 controller.

d) REPZ e) SUBB. [15]

3. Explain the working of DMA controller with a neat block diagram. [15]

4. Write an assembly language program to interface keyboard to 8086 processor

using 8255. Do the necessary initializations. [15]

) Explain the sequence of events that happen when an interrupt signal is given to

using 8255. Do the necessary initiali

) Explain the sequence of events that ha

8086 processor.

) Draw the interrupt vector table structure and explain. [15]

6.a) Explain the difference between 20mA current loop and RS232-C standard.

b) Explain the registers of 8251 USART. [15]

7.a) Explain the internal RAM organization of 8051 controller.

d) REPZ e) SUBB. [15]

3. Explain the working of DMA controller with a neat block diagram. [15]

4. Write an assembly language program to interface keyboard to 8086 processor

using 8255. Do the necessary initializations. [15]

) Explain the sequence of events that happen when an interrupt signal is given to) Explain the sequence of events that ha

) Draw the interrupt vector table

6.a) Explain the difference between 20m

b) Explain the registers of 8251 USART. [15]

4. Write an assembly language program to interface keyboard to 8086 processor

using 8255. Do the necessary initializations. [15]

of 8051 controller.of 8051 controller.nd counter operationsnd counter operations8.a) Differentiate between the timer a8.a) Differentiate between the timer a8.a) Differentiate between the timer a8.a) Differentiate between the timer a

iii) CJNE iv) DJNZ. [15]iii) CJNE iv) DJNZ. [15]iii) CJNE iv) DJNZ. [15]iii) CJNE iv) DJNZ. [15]iii) CJNE iv) DJNZ. [15]iii) CJNE iv) DJNZ. [15]iii) CJNE iv) DJNZ. [15]iii) CJNE iv) DJNZ. [15]iii) CJNE iv) DJNZ. [15]

) Discuss in detail the following instructions of 8051:) Discuss in detail the following instructions of 8051:) Discuss in detail the following instructions of 8051:) Discuss in detail the following instructions of 8051:) Discuss in detail the following instructions of 8051: b) Discuss in detail the following instructions of 8051:

A current loop and RS232-C standard.A current loop and RS232-C standard.A current loop and RS232-C standard.A current loop and RS232-C standard.A current loop and RS232-C standard.A current loop and RS232-C standard.6.a) Explain the difference between 20m6.a) Explain the difference between 20m6.a) Explain the difference between 20m6.a) Explain the difference between 20m6.a) Explain the difference between 20m6.a) Explain the difference between 20m6.a) Explain the difference between 20m

structure and explain. [15]) Draw the interrupt vector table) Draw the interrupt vector table) Draw the interrupt vector table b) Draw the interrupt vector table) Draw the interrupt vector table

ppen when an interrupt signal is given to) Explain the sequence of events that ha) Explain the sequence of events that ha) Explain the sequence of events that ha) Explain the sequence of events that ha) Explain the sequence of events that ha) Explain the sequence of events that ha) Explain the sequence of events that ha5.a) Explain the sequence of events that ha) Explain the sequence of events that ha

zations. [15]zations. [15]zations. [15]zations. [15]using 8255. Do the necessary initializations. [15]zations. [15]using 8255. Do the necessary initiali

a) CMPSB b) LODS c) MOVSWa) CMPSB b) LODS c) MOVSWa) CMPSB b) LODS c) MOVSWa) CMPSB b) LODS c) MOVSWa) CMPSB b) LODS c) MOVSWa) CMPSB b) LODS c) MOVSWa) CMPSB b) LODS c) MOVSW

ssing modes of 8086 microprocessor:ssing modes of 8086 microprocessor:ssing modes of 8086 microprocessor:b) Discuss the following addressing modes of 8086 microprocessor:b) Discuss the following addreb) Discuss the following addre b) Discuss the following addre

All questions carry equal marksAll questions carry equal marksAll questions carry equal marks

Time: 3 hours Max. Marks: 75 Time: 3 hours Max. Marks: 75 Time: 3 hours Max. Marks: 75 Time: 3 hours Max. Marks: 75 Time: 3 hours Max. Marks: 75 Time: 3 hours Max. Marks: 75 Time: 3 hours Max. Marks: 75 Time: 3 hours Max. Marks: 75 Time: 3 hours Max. Marks: 75

B. Tech III Year I Semester Examinations, May/June – 2013 B. Tech III Year I Semester Examinations, May/June – 2013 B. Tech III Year I Semester Examinations, May/June – 2013

Microprocessors and Interfacing

B. Tech III Year I Semester Examinations, May/June – 2013

Microprocessors and Interfacing

B. Tech III Year I Semester Examinations, May/June – 2013

Microprocessors and Interfacing

B. Tech III Year I Semester Examinations, May/June – 2013 B. Tech III Year I Semester Examinations, May/June – 2013

CAL UNIVERSITY, HYDERABADCAL UNIVERSITY, HYDERABADCAL UNIVERSITY, HYDERABADCAL UNIVERSITY, HYDERABADJAWAHARLAL NEHRU TECHNOLOGIJAWAHARLAL NEHRU TECHNOLOGIJAWAHARLAL NEHRU TECHNOLOGIJAWAHARLAL NEHRU TECHNOLOGIJAWAHARLAL NEHRU TECHNOLOGI

using 8255. Do the necessary initialiusing 8255. Do the necessary initiali

www.jntuking.com

www.jntuking.com

www.jntuk

ing.co

m