You are on page 1of 4
Ex/eE/7/316/13/08 BacHeLon oF ELECTRICAL ENGinkeRInG EXAMINATION, 2009 (ard Yeor-Ist Semester) MICROPROCESSOR ANO MICROCONTROLLER Time; Three fours Full parks: 100 (50 Marks for each pard) Use p sepurate answor-saripl far each part PART Answer any three quastions. Two marks reserved for neatmass eno weil organized answer (a) explein the function of zac' bit of the Flrg reyister of Inte] BO8S microprocessor, {bl briefly describe the programmable mgisters of Intel 8086 micruprocesser, (¢] How the Program Counter works in an 8085 based system? (4) Captain briefly the functionalities of the following pins of 8085 mictnpracessor: (VALE Gi} HOLD (ni ALOA (w}IO/ SedeDes 2. fal Montiari 4 single instruction of BUYS for wach cl the following operarions: () Fo move the content af reyjister 6 to A memory location specified by iL register pair. ila Tey ba the stark Poinusr by the ents JF05 H Gii)_—To exchange the content of the Hl segastst pair with that wl DErelster pai. (ivy To mask phe 7! aft ofthe accunsalator content. (b) Explain what happens after the execution of the following Instructions: {VLDAE GIN HGPRT? Ge) PEL (c) Write an assembly language progiam of 8085 se determine the average value of 8 single byte data stored In consecutive memory facations snd Lore the rasvlt in C reyister. The result af the add’tion of the 6 rata may be two byte long. 44646 3. (a] Write an acsnmibly language progrint Lo sort & single hyte dete stored in consecutive vemory locations in ascending ordre and save the sorted data in the same block of memory location, - Pum aver (2) {b) An 8085 based fully decoded system is to be developed using 8355 and 8156 chips, Show the schematic connection diagram, The addresses ¢re to be as follows: [Memory address 1/0 address Name ofthe chip | No. of chip enable pins SO00H = 5OFFH SOH— 55H 8156 One (CE) 000H - 27FFH 20H 33H 8355 ‘Two (CE2 & EET) a8 {a) Briefly explain how “THMER COMMAND” and “TIMER MODES” of 8156 are controlled. (b) Briefly describe the features of intel 8355 chip. (c} Generate a square wave [of equal ON and OFF period) at the 8” pin oF port-A of 8156 of an 8085 baved system. The On and OFF delay should be generated by using a delay subroutine. Asde8 3. Answer any two of the following: {a) Discuss briefly with suitable programming examples ebout programmed 1/0 operation In 8085 based system. (b). Write a brief note on interrupt system of 8085. {e) With a suitebte tinting diagram, discuss briefly about insteuction cycle of memory read machine operation of 8085. {d) Explain with sultable example, the address decoding in 8085 based system. What Is fold back memory? &2, [No.of Suestions (3) : *—PaRE T Marks 6. te b) “Answer question no. & and any to From rest: Answer any three of the following: a) Write the name of SFRs that are related to incerrupt operation, State the functions of bit-ficlds in each of the SRS, Hence, write a program in ussuimbly language on 8051, 10 enable timer-l interrupt and edge-sensitive external event-0 interrupt. Priority of these interrupts should be opposite to the polling sequence, 4) How do you set Baud rate in various modes of serial vommunication? Write an assembiy language program on 8051 to generate a Baud rate of 9600. Give appropriate comments along with the program, ©) Explain the organization of on-chip memory of 8051. ) Tlustrate the alternate functions of pins within yer-3 of 8051 ¢) Mention the name of addressing modes used in 8051 instructions, Give example in favor of each of the modes, Write 4 program in assembly language of 8051 to gencrate a roctangular pulse of frequency 500Hz. Duty cycle of the pulse is 0.8. Use in-built timer of 8051. Give appropriate comments, A train of pulses is available when cars move dcross a signal. The sigcal tums into red aficr 160 cars pass across the signal. Implement the event using un 8051 microcontroller. Assume Appropriate ports/pins for the purpase BxG=18 i {Tum ever

You might also like