RTU Previous Question Papers BE CS 4th Semester Microprocessor and Interfaces July 2011

RTU Previous Question Papers BE CS 4th Semester

Microprocessor and Interfaces July 2011

 

1 (a) Draw a logic schematic to generate four control using 8085 10I’M, RD and WR signals :

(!) MEMR

(2) MEMW

(3) JOR and

(4) IOW

Explain the functions of these control signals.

(b)  What do you understand by externally initiated signals and interrupts ?

(c) How these are used in different programs ? Explain.

OR

1    (a) Two machipe codes 0011 1110(3EH) and 00110010(32H) are stored in memory locations 2000 H and 2001 H, respectively as shown below. The first machine code (3EH) represent the opcode to load a data byte in the accumulator and second code (32H), represents the data byte to be loaded in the accumulator. Illustrate the bus timing as these machine codes are excuted. Calculate the time required to excute the opcode fetch and memory read cycles and the” entire instruction cycle of the clock frequency is 2 MHz.

Memory location Machine Code Instruction What do you under stand by PSW ? How it can be used for finding the status of a program. Justify giving suitable example.

Specify the register contents and flag status as the following instructions are excuted.

SUB A

A B S Z cy
XX XX X X X

MOV B, A DCR, B INR, B SUI, 01 H HLT.

WAP to count, continuously in hexadecimal from ff H. to OOH. in a system with a 0.5 ju sec. clock period. Use register C to set up a one millisecond delay between each count and display the numbers at one of the output ports.

(b)  Read the following program and answer the question. status of the flags and contents of the accumulator after the execution of the POP instruction located at 2007H ?

OR

(a) Specify the stack locations and their contents after the execution of the CALL instruction (Not the call subroutine).

(c) What are the contents of the stack pointer register and the program counter after the execution of the CALL instruction ?

(d) Specify the memory location where the program returns after the subroutine.

 

2. (a) Interface an 8 bit processor such as 8085 with a 2Kx8 ROM chip and two 1Kx8 RAM chips. Such that, the following address map is realised.

Device Size Address

(i)  ROM Chip 2K> 8. 0800.

(ii) RAM Chip 1Kx8 1000.

(iii) RAM Chip 1Kx8 4000.

OR

(b) What do you understand by Data transfer schemes used in micro-processor based system.

(i)  Interrrupt driven data transfer scheme.

(ii) Sychronuous data transfer scheme.

 

3. (a) Identify the port address as shown in fig.

(b) Identify the mode 0 control word to configure port A and port Pcu as output ports and port B and port CL as input ports.

(c) Write a program to read the DIP switches and display the reading form port B at port A and from port CL at port Cy.

 OR

3. (a) Draw and explain the pin configuration of 8254.

(b) Draw the block diagram of 8259 and explain its functions.

(c) Specify the control word and the command word for data communication having the following specifications :

 

4. (a) Asyehronuous mode

(b) 1200 baud (TXC = RXC = 76.8 kHz}.

(c) 8 bit character

(d) even parity

(e) One stop bit.

OR

(a) What do you mean by RS-232C ? How it can be used in serial communication ?

(b) Write the short note on :

(i) Level converters MC – 1488.

(ii) MC – 1489

 

5. (a) What do you mean by minimum and maximum modes of 8086? What are two different pins, which makes these configuration different from each other ?

(b) What do you understand by two addressing modes of 8086 ? How these are different from 8085 ?

OR

(a) Write the short note on any two :

(i)  MMX

(ii) Dual core-processor

(iii) Pentium processor.

Leave a Comment