Name Code : 56012 Class Branch MR INSTITUTE OF TECHNOOGY DUNDIGA - 500 043, HYDERABAD EECTRONICS AND COMMUNICATION ENGINEERING ASSIGNMENT QUESTIONS : MICROPROCESSORS AND MICROCONTROERS : III - B. Tech : ECE Year : 2014 2015 Coordinator : Mr. SVS.Prasad Faculty OBJECTIVES : Mr. SVS.Prasad, Mr. D. Naresh Kumar, Mr. G. Shravan kumar To meet the challenge of ensuring excellence in engineering education, the issue of quality needs to be addressed, debated and taken forward in a systematic manner. Accreditation is the principal means of quality assurance in higher education. The major emphasis of accreditation process is to measure the outcomes of the program that is being accredited. In line with this, Faculty of MR Institute of Technology, Hyderabad has taken a lead in incorporating philosophy of outcome based education in the process of problem solving and career development. So, all students of the institute should understand the depth and approach of to be taught through this question bank, which will enhance learner s learning process. 1 ASSIGNMENT I UNIT-I 8086 ARCHITECTURE Define Microprocessor and give the power supply & clock frequency of 8085. Blooms Taxonomy evel Outcome Remember 2 ist few applications of microprocessor-based system. Remember E 3 Compare between 8085 & 8086 microprocessor. Evaluate K 4 Demonstrate about pipelining. Understand M 5 Explain why 8086 internal architecture is divided into BIU & EU. A 6 Illustrate the flag register of 8086. Understand E 7 Summarize how physical address is generated in 8086. Understand K Evaluate the physical address, if base address is 5200H & offset address 8 Evaluation M is 4510H. A E 9 Explain the physical memory organization of 8086. Understand A 10 Classify memory segmentation & mention its advantages. Understand A A
11 Explain the read & write timing diagrams for maximum mode Understand E configuration. K M 12 Demonstrate the interrupts of 8086. Understand A The register contents of 8086 are given below. CS = 5000H, DS = 8000H, SS = A000H, ES = B000H, SI = 2000H, DI = 6000H, BP = 1002H, SP = 0002H, Blooms Taxonomy evel Outcome 13 AX = 0000H, BX = 5200H, CX = 2000H. Calculate the effective address & A physical address of the following instructions. (a) IMU AX, [BP + BX 8D] (b) SBB A, ES:[ SI + 5D] (c) PUSH AX (d) AND Analyze AH, [SI + 42D] (e) CMPSB (f) CMPB DX, [SI] 14 Examine physical address is represented by Analyze E i) 4370:561EH ii) 7A32:0028H UNIT-II INSTRUCTION SET AND ASSEMBY ANGUAGE PROGRAMMING 1 Define is addressing mode. Write the names of 8086 addressing modes. Remember A 2 Explain the instructions formats in 8086. Understand 3 Outline the following instructions of 8086. Understand E a) ADC 4 Explain ESC, NOP & OCK instructions of 8086 Understand 5 Explain PUSH & POP instructions. Understand K Tell examples for the following assembler directives. Remember 6 a) ASSUME b) ENDS c) PUBIC 7 Identify the difference between inter segment & intra segment jumps. Apply A 8 Write a program to read ASCII code after a strobe signal is sent from a Create Keyboard. 9 Write a program to add a profit factor to each element in a cost array Create and puts the result in a prices array. E 10 Develop an AP for add a 5-byte number in one array to a 5 byte in another array. Put the sum in another array. Put the state of the carry flag in byte 6 of the array that contains the sum. The first value in each N array is the least significant byte of that number. 11 Develop a delay loop which produces a delay of 500µsec on an 8086 with Create 5-MHz clock. E 12 Develop an AP to convert a given sixteen bit binary number to its gray Create equivalent. A UNIT-III I/O INTERFACE 1 Explain why I/O interface required for 8086. Understand M 2 Identify how many port lines are present in 8255. Apply N 3 Explain BSR mode of operation. Understand K 4 Write the control word format for I/O mode. Create H
5 Calculate the control port address of 8255 if the base address is FFF0H. Analyze M 6 Model BSR control word of 8255 to set pc2 & pc7 & reset them after a Apply N time delay. Base address of 8255 is F800H. 7 Show how a 4 4 key board matrix is connected to 8255. Understand K 8 Explain how a stepper motor is interfaced to 8086. Understand H 9 Develop a program for 8-bit ADC to sample analog input & store the Apply M digital value in memory. Blooms Taxonomy evel Outcome 10 Model A Control Words When the Port Of Intel 8255A defined as follows: Apply N Port A as an O/P port, mode of the port a is mode-0, port B as an O/P port, mode of the Port B is mode-0. 11 Develop an AP for to interface ED with PORT 0 by using 8255. Apply H UNIT-IV INTERFACING WITH ADVANCED DEVICES 1 Compare between static and dynamic RAM with examples. Understand A 2 Explain the purpose of BHE and A0 pins on the 8086 microprocessor. Understand B 3 Explain the purpose of CE or CS pin on a memory chip. Understand D 4 Compare Maskable and Non-Maskable interrupts. Understand E 5 Define DOS interrupts. Give two examples. Remember A 6 Construct an Interface two 4k 8 EPROMS & and two 4k 8 RAM chips Create B with 8086. Select suitable memory map. 7 Explain about the programmed I/O & interrupt driven I/O. Understand D 8 Explain the architecture of 8259 with neat block diagram. Understand E 9 Illustrate the status register of 8257. Understand A 10 Elaborate the following terms with reference to 8259: Create B (a) END of interrupt (b) Automatic rotation (c) poll command (d) Read register command. 11 Develop a for 8086 to service a real time clock interrupt. 8259 is Apply D connected to 8086 and free running clock of 1Hz is given as interrupt request to IR2. 8259 to be programmed for following specifications: a) IR2 is edge triggered interrupt b) non-specific EOI, fully nested mode c) Interrupt type 60H for IR0 d) Mask all other interrupt requests ASSIGNMENT-II UNIT-V COMMUNICATION INTERFACE 1 ist the features of 8251(USART). Remember A 2 ist the serial communication standards available. Remember K 3 Discuss the methods available for error correction during serial data Create transmission. 4 Write the specifications of RS232C. Create M 5 Define IEEE-488 bus controller. Remember A 6 Define a) ATN b) EOI c) IFC signals of IEEE-488. Remember K
7 Illustrate the frame format of serial asynchronous communication. Understand 8 Explain the pin structure of RS232C & also discuss about voltage & Understand M current specifications of RS 232C. 9 Plan the sequence of events for 8251 initialization with necessary Apply A instructions. 10 Explain a) TXRDY b) DSR c) RTS d) SYNDET/BDT signals. Understand K 11 Develop an AP for to transfer the data serially in 8086. Create UNIT-VI INTRODUCTION TO MICROCONTROER 1 Identify which ports of 8051 are bit addressable. Apply M Blooms Taxonomy evel Outcome 2 Explain why does Port 0 need pull-up resistors in 8051? Understand A 3 Demonstrate I/O ports in 8051. Understand K 4 Estimate the significance of TF and TR control bits in the TCON register in Create 8051. 5 Explain the following instructions in 8051 micro controller. Understand M a. SETB 86H b. CR 87H c. SETB 92H 6 Estimate the value of register A after each of the following instructions. Create A MOV A,#26H SWAP A 7 Design an 8051 based system with 16 K bytes of program ROM and 16 K Create bytes of data ROM. K 8 Explain briefly the JMP & CA instructions available in 8051. Understand 9 Develop 8051 program to move a block of data from external program Apply M memory to external data memory. 10 Develop a program in 8051 to count number of zero bits available in a Apply A byte available in external RAM at 1000h. Store zero bit count in internal RAM location 60H. 11 Develop 8051 program to OR the contents of port 1 and port 2, put the Apply K result in external RAM location 0102h. UNIT-VII 8051 REATIME CONTRO 1 Explain the format of TMOD & TCON in 8051. Understand A 2 Illustrate the Timer counter logic diagram in 8051. Understand C 3 ist the SFRs needed for serial communication in 8051. Remember G 4 Describe how serial port is used for data transfer in 8051. Understand N 5 ist functions of SCON register in 8051. Remember A 6 Design the format of IE register in 8051. Create C
7 Summarize the various modes of operation of timers in 8051. Understand G 8 Develop a program to generate a 5 khz square wave on p1.5. Using timer Apply N 0. 9 Indicate when the TF0 flag is raised for the following program. Understand A MOV TMOD, #01H MOV T0, #12H MOV TH0, #1CH SETB TR0. Assume XTA = 11.0592MHz. 10 Develop 8051 Timer 0 to generate a square wave of 3 khz. Create C Assume that XTA = 11.0592MHz. 11 Develop 8051 program to generate a 5 khz square wave on p1.5. Using Apply G timer 0. 12 Develop 8051 program to initialize timer 1 in mode 1. Create N Blooms Taxonomy evel Outcome 13 Develop 8051 program to transmit 8-bit character serially at 9600 baud Create A rate continuously. UNIT-VIII THE AVR RISC MICROCONTROER ARCHITECTURE 1 Compare RISC & CISC architectures. Analyze A 2 Explain the functional blocks of AVR microcontroller. Understand D 3 Explain the function of MCU control & timing unit in AVR Understand N microcontroller? 4 Discuss the sources of interrupts in AVR microcontroller. Create D 5 Discuss the use of flash memory in AVR microcontroller. Create A 6 Explain how many control & status registers are used by USART & AVR Understand N microcontrollers. Give the format of each and explain. 7 Elaborate the details of interrupt handling and response of AVR Create A microcontroller on occurrence of interrupt. 8 Construct the format & explain each bit of the following SFRs of AVR Create N microcontroller a. SFIOR b. MCUCR 9 Compare the functional differences between timer 0 & timer 2 of AVR Understand D Microcontroller. 10 Define the concept of register file. How it is implemented in AVR Remember A microcontrollers. Prepared By: Mr. D.Naresh Kumar