Microprocessors and Interfacng. Question bank

Similar documents
Code No: Set No. 1

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

EC6504 MICROPROCESSOR AND MICROCONTROLLER QUESTION BANK UNIT I - THE 8086 MICROPROCESSOR PART A

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK

EC6504 MICROPROCESSOR AND MICROCONTROLLER

DEPARTMENT OF ECE QUESTION BANK SUBJECT: MICROPROCESSOR AND MICROCONTROLLER UNIT-1 PART-A (2 MARKS)

1. (a) Draw the internal architecture of 8085? Explain each block. (b) What are the special functions of GPRs in 8086? And explain them?

PART - B (Answer all five units, 5 X 10 = 50 Marks)

3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices.

KINGS DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK. Subject Name: Microprocessors and Microcontrollers UNIT-I 8085 MICROPROCESSOR

4. (a) With a neat sketch explain 8237 DMA controller and its operation? (b) With the help of basic cell explain SRAM and DRAM?

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET

Unit wise Question Bank UNIT-II

2. (a) Draw and explain the pin out diagram of (b) Explain the various operations performed by Bus Interfacing unit in 8086.

BHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013)

MICROPROCESSORS & MICRO CONTROLLER COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK

EC 6504 MICROPROCESSOR AND MICROCONTROLLER

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

Department of Computer Science and Engineering

BASIC INTERFACING CONCEPTS


DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING YEAR : III SEM : VI

Microprocessor and Microcontroller question bank. 1 Distinguish between microprocessor and microcontroller.

Question Bank Microprocessor and Microcontroller

MLR INSTITUTE OF TECHNOLOGY DUNDIGAL , HYDERABAD

VALLIAMMAI ENGINEERING COLLEGE


Microprocessors and Microcontrollers. Assignment 1:

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

PART B UNIT II PART A

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE ENGINEERING

Department of Electronics and Instrumentation Engineering Question Bank

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1

Rewa Engineering College, Rewa. Rewa Department OF Electrical Engineering

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

8051 Microcontroller

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013)

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.

Microcontroller & Interfacing

UNIT-I. 1.Draw and explain the Architecture of a 8085 Microprocessor?

FIFTH SEMESTER B.TECH DEGREE EXAMINATION MODEL TEST QUESTION PAPER, NOVEMBER CS 305: Microprocessor and Microcontrollers PART A

UNIT II OVERVIEW MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Introduction to 8086 microprocessors. Architecture of 8086 processors

Microcontroller and Embedded Systems:

Question Bank Unit-1


DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING EC6504 MICROPROCESSOR AND MICRO CONTROLLER

To Interface The 8085 Microprocessor

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT IV I/O INTERFACING PART A (2 Marks)

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

8051 microcontrollers

It is a program controlled semiconductor device (IC}, which fetches, decode and executes instructions.


QUESTION BANK UNIT-I. 4. With a neat diagram explain Von Neumann computer architecture

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

MICROPROCESSOR TECHNOLOGY

Microprocessor. By Mrs. R.P.Chaudhari Mrs.P.S.Patil

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.

END-TERM EXAMINATION

MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Features of 8051:

Introduction to Microprocessor

8086 Hardware Specification

VALLIAMMAI ENGINEERING COLLEGE

UNIT-I: THE 8086 MICROPROCESSOR PART-A

MCS-51 Serial Port A T 8 9 C 5 2 1

Code No: RR Set No. 1

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMMUNICATION ENGINEERING REG 2008 TWO MARKS QUESTION AND ANSWERS

UNIT - II PERIPHERAL INTERFACING WITH 8085

9/25/ Software & Hardware Architecture


ENE 334 Microprocessors

UNIT 1. Introduction to microprocessor. Block diagram of simple computer or microcomputer.

Lecture 1. Course Overview and The 8051 Architecture

8051 Overview and Instruction Set

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Interface DAC to a PC. Control Word of MC1480 DAC (or DAC 808) 8255 Design Example. Engineering 4862 Microprocessors

Microcontrollers. Fig. 1 gives a comparison of a microprocessor system and a microcontroller system.

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

VALLIAMMAI ENGINEERING COLLEGE

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC.


EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

Mr. Sapan Naik 1. Babu Madhav Institute of Information Technology, UTU

Unit-I. 1. INTRODUCTION TO MICROCONTROLLERS. Micro controller, types, selection of a microcontroller and applications

VARDHAMAN COLLEGE OF ENGINEERING (AUTONOMOUS) Shamshabad, Hyderabad

ENE 334 Microprocessors

These three counters can be programmed for either binary or BCD count.

SRI VENKATESWARA COLLEGE OF ENGINEERING

GUJARAT TECHNOLOGICAL UNIVERSITY

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

Diploma in Embedded Systems

MICROPROCESSORS & INTERFACING (A1423) C.Lokanath Reddy Assistant Professor.

SRI VIDYA COLLEGE OF ENGINEERING AND TECHNOLOGY,VIRUDHUNAGAR

Moodle WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics

MICROCONTROLLER AND PLC LAB-436 SEMESTER-5

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor

II/IV B.Tech (Regular/Supplementary) DEGREE EXAMINATION. Microprocessors and Microcontrollers. Answer ONE question from each unit.

Transcription:

Microprocessors & Interfacing 8086 ARCHITECTURE: UNIT-I Functional Diagram, Register Organization, Addressing modes, Instructions, Functional schematic, Minimum and Maximum mode operations of 8086, 8086 Control signal interfacing, Timing Diagrams. 1. a) Explain the physical address formation in 8086. b) Explain the function of the following signals of 8086. (i) ALE, (ii) TEST, (iii) HOLD, (iv) NMI, (v) BHE, (vi) DT / R, (vii) READY, (viii) DEN April-2011 2. (a) Describe the functions of the following pins of 8086 i. NMI ii. ALE iii. S2, S1, S0 iv. Test v. READY (b) Discuss about any three arithmetic instructions of 8086. [10+6] All Sets Dec 10 1. Distinguish between the terms microprocessor, microcomputer and micro controller. Write about the evolution of microprocessor. 2. With a neat architectural diagram, explain the functioning of an 8086. Explain, why 8086 internal architecture is divided into BIU and EU? Discuss the A-bus, B-bus and C-bus and their use. Nov/Dec-05 3. Discuss briefly about pre-fetch queue in 8086. April-08. 4. Discuss the functions of all general purpose registers of 8086.Explain the special function of each register and instruction support for these functions. Explain the function of following registers 8086 microprocessor. a) AX,BX,CX,DX b) CS,DS,SS, ES c) BP,SP, SS, ES d) IP and instruction queue 5. What is memory segmentation? Explain the use of segmentation in different applications. Explain how segmentation provides effective task switching mechanism. Aug-07 6. Give the 16-bit flag register format of 8086 and explain about each flag in detail. Nov-03,Jun-03. 7. Write detail about the addressing modes of 8086 microprocessor. Apil-09. 8. Explain detail about the following addressing modes of 8086 with examples. ((i) I/O addressing (ii) Based indexed addressing with displacement. 9. Explain the meaning of the following 8086 instructions, (i) MOV [3845h],bx (ii) ADD AX, [SI] (iii) MOV BX,2956h (iv) ADC ax,bx.. 10. Explain the following 8086 instructions with examples (i) MUL (ii) IMUL (iii) DIV (iv) IDIV. Aug-08 11. Describe the function of the following pins and their use in 8086 based system. (i)nmi (ii) LOCK (iii) TEST (iv) RESET. April-05 12. Describe the function of the following pins in8086 maximum mode of operation (i) TEST (ii) RQ/GT 0 and RQ/GT 1 (iii) QS0 and QS1 (iv) s0, s1, s2 Nov-05 13. What is the purpose of ALE, BHE, DT/R and DEN pins of 8086? Show their timing in the system bus cycle of 8086. Aug-07, April-07 14. With appropriate pin diagrams explain the minimum and maximum mode operations of 8086.. With a neat pin diagram explain the maximum mode operation of 8086.

Show the circuit required to generate the upper and lower I/O strobes in minimum and maximum modes of operation of 8086. Aug-07,April-07. 15. Distinguish between a memory read and write machine cycle. Draw the timing diagrams in minimum and maximum modes f operation.. UNIT II INSTRUCTION SET & ASSEMBLY LANGUAGE PROGRAMMMING OF 8086 Instructionset formats, addressing modes, instruction set, assembler directives, macros, simple programs involving logical, branch and call instructions, sorting, evaluating arithmetic expressions, string manipulations. 1. (a) What are assembler Directives? Explain 4 assembler directives in detail? (b) Write an ALP to find the multiplication of two 16-bit Hex numbers? [10+6] All Sets Dec 10 2. (a) Explain briey the execution of all the instruction of 8086 with suitable examples. (b) Explain briey the addressing modes for control transfer instructions. [10+6] All Sets May 10 2. (a) Write an 8086 progress to perform the addition of two matrices. (b) Write a program to arrange a string of numbers in descending order. [10+6] All Sets May 10 1. Discuss the assembler directives with examples. Aug-07,April-07 2. Develop an assembly language program to multiply two BCD numbers of 2-digits each. April-07 3. Explain with an example, how a far procedure is declared as PUBLIC? Show how an external near procedure is called in main program? Aug-07, April-07 4. What is a procedure? Give an example to declare a procedure as near. Make this procedure as PUBLIC procedure. Aug-07, April-07. 5. What are the different ways of passing parameters to and from procedures? Explain the methods with examples in assembly language. Aug-07. 6. Develop a PUBLIC procedure to convert 4-digi Hex to BCD number and return the value. April-07 7. Differentiae between procedures and macros using certain examples. Aug-08, April-08. 8. Give the assembly language implementation of the following, (i) DO-WHILE (ii) FOR.August-07 9. Discuss various branch instructions of 8086 microprocessor, that are useful for relocation. April- 07,April-06, April-05 10. What are the loop instructions of 8086? Explain the use of DF flag in the executin of string instructions. Aug-06, Nov-05,May-04. 11. Write an ALP in 8086 to move block of N bytes of data from source to destination.,aug- 08. 12. Write an ALP in 8086 to add 5 bytes of data in an array by making use of procedure., Aug 08. 13. Write an ALP in 8086 to add two 16-bit hexa decimal numbers.,aug 08 14. Write an ALP in 8086 to find a maximum number in the array of 10 numbers.,aug- 08,April-08. 15. Write a recursive program in 8086 ALP to find the sum f the first n-integers.,aug- 08,April-08. 16. Write a program in 8086 to ad two 8-bytes of data available in memory location array1 and array2. Store the result in aray3. 17. Write an ALP to count number of 0s in a 16 bit binary string.

18. Write an ALP in 8086 to add two 16 digit packed BCD numbers.,april-08 19. Write an ALP in 8086 to divide a 32-bit number by a 16-bit number., April-08. 20. Write an ALP in 8086 to display the string WELCOME on the screen. Aug-08 21. Write an ALP in 8086 to count number of positive and negative numbers from an array of 8-bit integers. Aug-08, April-08 22. Write an ALP in 8086 to exchange a block of N bytes of data between source and destination. Aug- 08,April-08. I/O INTERFACE UNIT-III 8255 PPI, Various modes of operations and interface of I/O devices to 8086, Interfacing keyboard, display, stepper motor interfacinga/d, D/A Converter Interfacing. 1. (a) Explain the basic steps involved in an A/D converter (b) Explain the pin Diagram of ADC 0808/0809 All Sets May 10 2. Draw the block diagram of 8255 and explain each block. April-07 3. Describe the three modes of operations for 8255 using relevant diagrams. Aug-08 Explain mode 1 input operation and mode 1 output operation in 8255 with examples. Aug-08 4. Distinguish between a system clock and peripheral clock and explain briefly the control block of 8255. 5. What is meant by Interfacing? Explain the brief description of PPI. Aug-08 6. What is BSR mode of operation? How it is useful in controlling the interrupt initiated data transfer for mod1 and mode2? Aug-08, April-07, Aug-06 7. Distinguish between mode set control word and BSR control word f 8255. April- 08, 09,Aug-08. Discuss about the following control words of 8255. (i) Mode set control word (ii) Bit set/reset control word. 8. Write the necessary instruction sequence to initialize 8255 with address 0C00H to 0C03H for the following combinations. (i) Port A as input and ports B and C as output in ode 0 operation. (ii) Port A in mode 1 operation and port B in mode 0 operation Aug-08 9. Supose that the beginning address of an 8255 is 0900H and write a program sequence that wil, (i) Put bot groups A and B in mode 0 with orts A and C being input ports and port B as an output port. (ii) Put group A in mode 1 with port A being an input and PC6 and PC7 being outputs and group B in mod 1 with ort B being an input. April-08 10. Write the BSR control word to set bit 3 of port C and also write the BSR control word to reset bit 3 of port C. Introduce a 1 msec delay between set and reset of bit 3 of port C. April-08 11. Explain the transistor buffer circuit used to drive 7 segment LEDs April-07, Aug-06 12. Interface a stepper motor to the 8086 microprocessor system and write an 8086 assembly language program to control the stepper motor. 13. Explain about interfacing of a DAC with 8086 using 8255. April- 09 14. Explain how an AD can be interfaced to a microprocessor. Give the required instruction sequence to acquire one sample from ADC. 15. Write an ALP in8086 to generate a symmetrical square wave form with 1 khz frequency. Gie the necessary circuit setup with a DAC.,Aug08, April-08 16. Interface a 12-bit DAC to 8255 with an address map of 0C00H to 0C03H. the DAC provides output in the rang of +5 V to -5V write the instruction sequence. (a) For generating a square wave with a peak to eak voltage of 4 V and the frequency will be selected from memory location F (b) For generating a triangular wave with a maximum voltage of +3 and a minimum of 2V. Aug-07,April- 06,Nov-05,April-05.

UNIT-IV INTERFACING WITH ADVANCED DEVICES. Memory Interfacing to 8086,interrupt structure of 8086, vector interrupt table, interrupt service routing, Introduction to DOS and BIOS interrupts, Interfacing Interrupt Controller 8259, DMA controller 8257 to 8086. 1. (a) Explain the intialiazation sequence of 8259. (b) Write about the command words of 8259. [8+8] All Sets May 10 2.(a) Explain the bus structure of 8086 system (b) Explain the fundamental concepts of DRAM controller. [8+8] All Sets Dec 10 1. Explain briefly about memory interfacing with 8086 microprocessor.,aug-08. Explain how static RAM are interfaced to 8086. Give necessary interface diagram assuming appropriate signals and memory size. Aug-08,April-08. With neat sketch explain the internal organization of SRAM chip. List out the input and output pins Discuss their function in a system. Aug-07. With the help of basic cell explain SRAM and DRAM. discuss the advantages of the memories. April-07, Nov-05, April-05. 2. Draw the basic cell structure of EPROM and explain the principle of operation. April-07, Aug-06. Distinguish between EPROM and E2PROM. Mention their application areas. Aug-07, April-07. 3. Differentiate between static and dynamic RAMs give some example. April -09. 4. Explain the need for DMA in microprocessor based systems.. Explain need of DMA. Discuss in detail about DMA transfer method. Aug-08,April-08. Explain demand transfer mode and block transfer mode of 8237. Aug-07, April-07. 5. Show how 8237 s are cascaded to provide more number of DRQ s and explain the operation. Aug- 07,April-07. 6. With a neat block diagram explain the working of 8237 DMA controller, Aug-07, April- 06. With a neat block diagram, explain the working of 8257controller., Aug-08. 7. Give the priority of 8086 interrupts, hardware and software. Explain why single step interrupt is having lower priority. Aug-07 8. Discuss the sequence of operations performed in the interrupt acknowledge cycle. Aug-07 9. What is the difference between maskable and non-maskable interrupts. Give some examples. April- 09, Aug-08 10. Discuss the following i) single step execution ii) Interrupt n overflow. April-08 11. Discuss about DOS and Bios interrupts. Give necessary examples. April-08 12. Describe the operation of 8279 with a neat block diagram. 8259 PIC architecture and interfacing, cascading of interrupt controller and its importance. Aug- 07 a) Distinguish between master and slave mode operation of 8259. b) Give an interfacing diagram, b) which shows the connections between 8086 and 8259., April-08

13. Differentiate between initialization command words and operation command words of 8259. April- 09. How many initialization command words are required for a single 8259 in an 8086 based system? Explain their format. April-08 14. Describe some important features of 8259 interrupt controller. 15. Explain the importance of 8259 interrupt controller and explain how does it handle the interrupt. April-08 COMMUNICATION INTERFACE UNIT-V Serial Communication Standards, serial data transfer schemes, 8251USART Interfacing RS-232, IEEE-488, 20mA Current Loop, Prototyping and Trouble shooting, Software Debugging tolls, MDS. 1. (a) Explain why serial data transfer is mostly preferred over parallel data transfer. Give reasons. (b) Distinguish between data formats used for Synchronous and Asynchronous serial data transfer modes. [8+8] All Sets Dec 10 2.(a) Write the sequence of events for 8251 initialization with necessary 8086 instructions. (b) Draw and explain the block diagram of 8251. [8+8 ] All Sets May 10 3. (a) Explain about the programmed I / O. (b) Explain about the interrupt driven I / O. [8+8] All Sets Dec10 1. Discuss the types of serial communication. April -09 Distinguish between synchronous and asynchronous serial data transmission techniques. Discuss the advantages and disadvantages. April-07, 2. Discuss the data transmission standards and their specifications. Aug-08 3. Draw the flow chart showing how synchronous serial data can be sent from a port line using software routine. Aug-06 4. A terminal is transmitting asynchronous serial data at 2400bd. What is the bit time? Assuming 7 data bits, a parity bit and 1 stop bit how long does it take to transmit one character? April-05 5. Draw the block diagram of 8251 and explain abut each block. Aug-08, April-05 6. Give the status register of 8251 and explain each bit. April-08 7. What are the important features of 8251? May-08 8. Explain the following control words of 8251 with suitable examples, i) Mode word ii) Command word. May-08 9. Explain the interfacing of 8251 with 8086 with necessary circuit diagram. 10. Explain about the three errors in asynchronous serial transmission. Sep-08 11. Write the instruction sequence to re-initialize the above 8251 in synchronous mode with even parity, single SYNC character and 8-bit character size. May-06 12. What is the difference between 20mA current loop and RS232-C standard. Aug-07 13. Give the specifications of RS-232C. May-08, May-06 14. Draw the circuit of RS-232 to TTL conversion and explain this interface. Sep-08 15. Draw the circuit of TTL to RS232 and explain the necessity of this interface. Aug-07 16. Explain about line driver and line receiver used in serial communication. May-08 UNIT-VII INTRODUCTION TO MICRO CONTROLLERS Overview of 8051 Micro Controller, Architecture, I/O ports and Memory Organization, Addressing

modes and Instruction set of 8051, Simple Programs. 1. (a) Explain the logical instructions of 8051 with examples (b) Write 8051 program to multiply the unsigned number in register R2 by the unsigned number on port 2 and put the result in external RAM locations 1000H (MSB) and 1001H (LSB). [8+8] All Sets Dec 10 1. Enrich salient features of 8051 family of microcontrollers. April-07,April-06 2. Draw the architectural diagram of 8051 microcontroller and explain in detail about each block. 3. Discuss about various addressing modes of 8051. Aug-08 4. Draw and discuss the formats and bit definitions of the following SFR s in 8051 microcontroller. i) PCON ii) PSW iii) IP iv) TMOD. Aug-07 5. Discuss the register set of MCS-51 family of microcontrollers.nov-05 6. Draw and discuss the formats and bit definitions of TCOM SFR in 8051 microcontroller. Nov-05 7. Explain with waveforms, the different modes of counter/timer in 8051. 8. Discuss in detail about parallel I/O ports in 8051 microcontroller. Also explain how these ports are accessible for specific applications. 9. Explain the interrupt structure of 8051. Aug-08 10. Discuss in detail about memory and I/O interfacing of 8051. Aug-08 11. How does 8051 differentiate between the external and internal program memory? Sep-07 12. Interface 8255 I/O ports with 8051. The address of port A should be 0000h. Aug-08 13. Draw the oscillator circuit and also draw the 8051 timing diagram. 14. Discuss in detail about parallel I/O ports in 8051 micro controller and explain how these ports are accessible for specific applications 8051 REAL TIME CONTROL: UNIT-VIII Interrupts, Timer/Counter and Serial Communication, Programming Timer Interrupts, Programming External H/W interrupts, Programming the serial communication interrupts, Interrupt Priority in the 8051, Programming 8051 Timers, Counters 1. (a) Explain serial data interrupts, data transmission and data reception in 8051? (b) Give the format of SCON register in 8051 and explain each bit. [8+8] All Sets May 10 2. Explain how serial data communication is done with 8051 serial ports. Apr/May 2009. 3. Explain with waveforms, different modes of serial data transmission modes in8051. Apr/May 2009. 4. What is the use of Mode 0 of serial communication in 8051. Write a program to transmit a data 45H in mode 0. Apr/May 2009. 5. What are the various SFRs you need while handling the Timers/Counters. Give the register formats. Apr/May 2009. 5. (a) Explain how the timer flag interrupt and the serial port interrupt are generated. (b) Discuss on external interrupts? (c) Discuss on interrupt priority? Apr/May 2009. 6. Write 8051 program to initialize timer 1 in mode 0. Apr/May 2009. 7. Give the formats of the registers which are used for the counters/timers. Apr/May 2009. 8. Write 8051 program to generate 2 khz square waves on pin P1.0 of port 1 using Timer interrupt. Aug-2008 9. Write 8051 program to receive a serial byte through RxD. Aug-2008 10. Give the sequence of events that takes place when the interrupt occurs in 8051. Aug-2008 11. Draw the bit formats of IE and IP registers of 8051? Aug-2008 12. Discuss in detail about serial port operation in 8051 microcontroller. Aug-2008 13. Discuss about various modes of operations of timer in 8051. Aug-2008 14. Write 8051 program as an example of interrupt call to a routine, timer 0 is used in mode 0 to overflow and set the timer 0 interrupt flag. When the interrupt is generated, the program vectors to

the interrupt routine, resets the timer 0 interrupt flag, stops the timer,and returns. Aug-2008 15. Discuss the bit format of IP register of 8051? Aug-2008 16. Explain with waveforms different modes of counter/timer in 8051? Aug-2008