RTU Previous Question Papers BE IT 4th Semester Microprocessor and Interfaces May 2011

RTU Previous Question Papers BE IT 4th Semester

Microprocessor and Interfaces May 2011

 

1 (a) How a program is executed by microprocessor 8085 ? Explain by using diagram of flow of signal for the execution of a stored instruction.

(b) Explain the requirement of a program counter, stock pointer and instruction register in the architecture of Intel 8085 microprocessor.

OR

(a) Why a microprocessor needs ROM and RAM ? write the procedure to communicate with memory by a microprocessor.

(b) Explain the function of flag register in MP 8085. What is the use of the general purpose registers W and Z ?

 

2 (a) Explain the following instructions indicating their addressing modes, flags affected, number and names of machine cycles on the execution of each : XRA A, CALL, XTHL, LHLD. (b) Write a program to count number of 1” and 0 bits in a register. Assume data is in B register and store number of in H register, 0 in L register.

OR

(a) Write a program to compare two string of ASCII characters to see if they are same. The length of the string is in memory location 90XXH; One string starts in memory location AOXXH and the other in memory location BOXXH. If the two strings match, clear the memory location BOXXH otherwise set memory location BOXXH to FF H.

 

3. (a) Explain witL example, how flags can be set or reset in 16 – bit instructions..

(b) Draw the timing diagram for the instruction SITLD BABAH. Show of the status of the various signals :

A8-A15, AD7-AD0, ALE,RD,IO M,S0,S19fFR.

OR

(a) What, is the difference between MACROS and subroutine. Explain with example.

(b) Draw and explain the block diagram of 8259 PIC. Interface two chips of 4K byte RAM and two chips of 2K byte ROM to MP 8085, by absolute decoding using 74 LS 138 decoder. Give the memory map starting at address 8000H for EPROM.

 

4. (a) Draw the functional block diagram of 8254 IC and explain how this can be used to obtain a signal having frequency equal to 1/6 of input clock signal.

(b) Interface two LEDs using common anode and common cathode technique. Show the complete interface.

(c) Write the program to blink them alternately. Assume part addresses in IO mapped 10.

OR

(a) Draw the block diagram of 8255 PP1. What are different operating modes of 8255 PP1 ? Discuss how to determine the control word for 8255 ?

(b) Interface the keyboard and display controller 8279 with 8085 at address ABCOH. Write an ALP to set up 8279 in scanned keyboard mode with encoded scan, N-key roll-over mode. Use 16- character display in right entry display format.

 

5 (a) Write a program to transmit 256 bytes of data from system A.

Asychronous transmission is to be done using 8251 and RS 232 C cable. Draw a schematic diagram to show how RS 232C cable is connected through 8251 to 8085.

(b) Write short note on IEEE 488.

OR

5 (a) Interface 8 switches and a seven segment display to 8085 through 8255 PP1. Write a program to display the switch* when a switch is open. Assume that the 8255 is interfaced in memory mapped IO technique.

(b) Specify mode word, command ward and status word to transmit data. The TXC is 153.6 KH2. The requirement of system is :

(1) Asynchronous mode with 9600 band

(2) Character length 5 bits

(3) 1 stop bit

(4) Even parity check.

Leave a Comment