WBUT Previous Years Question Papers EC Microprocessor And Microcontroller B Tech Fifth Sem 2009-10

WBUT  Previous Years Question Papers EC

Microprocessor And Microcontroller  B Tech Fifth Sem 2009-10

 

Time Allotted : 3 Hours

Full Marks : 70

The figures in the margin indicate full marks.

Candidates are required to glue their answers in their own words

as far as practicable.

GROUP – A ( Multiple Choice Type Questions )

ill) In 8085 CPU, the Jump instruction address affects the

a) accumulator     b) stack pointer

c) H-L pair                              ^ d) program counter.

iv)          The addressing mode used In the Instruction STAX B is

a) direct                     b) resister

c) immediate         d) register indirect.

v)            In 8085 microprocessor, which of the following is non­maskable interrupt ?

a)   RST 7-5            Jtf) TRAP

c) Hold                              ‘ d) INTR.

vl) Suppose before executing the following instructions all flags of 8085 are zero. Which flag will be the set after executing all the following instructions ?

MVI B, FF„

MVI C, FF„

INXB

a) S         b) Z

c) CY

v d) none of these.

vii)        When a subroutine Is called the address of the instruction next to CALL is saved in

a)   stack         b) program counter

c)    stack pointer register d) none of these.

viii)      The call location for the Interrupt RST5 is

a)            0034H         b) 002CH

c)            0038H         d) 0030H.


Ix) The total no. of addressing modes for 8086 microprocessor is

b)             12

c)  – 2

x)            RST 7-5 interrupt is

a)           vectored & maskable

b)           vectored & non-maskable

c)           direct & maskable

d)           direct & non-maskable.

xi)          8259 is

a)           programmable DMA controller

b)           programmable interval timer

C) programmable interrupt controller

d)           none of these.

xii)        The segment and off-set address of the instruction to be executed by 8086 microprocessor are pointed by

a)           CS and SI                          b) DS and IP

c)           CS and SP                         d) CS and IP.

xiii)      The instruction PCHL

a)           stores the contents of HL pair to a specified memory location

b)           copies the contents of HL pair into the program counter

c)           stores the contents of HL pair to accumulator

d)  exchanges the contents of HL pair with program

counter.

xlv) If clock frequency is 2 MHz then the time required for execution of instruction STA 1900H is. TI

a)  6-5 millisec b) 13 microsecos

c)6-5 microsec      d) 10 microsec.

xv) The chip select signal for even memory bank of 8086 microprocessor is

a)    AO       b) BHE

c)  ALE  d) both (b) & (c).

GROUP -B (Short Answer Type Questions )

Answer any three of the following. 3×5=15

2/ How does the ALE signal demultiplex the ADO-7 bus ? Explain with diagram.

3., What are the advantages of having segmentation ? How does the 8086 microprocessor support segmentation ?

  1. Write an assembly language program that display the square of a number and its corresponding address from a LOOK-up table.
  2. Briefly describe about different flags in 8086 microprocessor. State the difference between flags of 8086 microprocessor and 8085 microprocessor.

,Jr. What do you mean by Mode 0, Mode 1 and Mode 2 operations of 8255 ?

GROUP – C ( Long Answer Type Questions )

Answer any three of the following. 3 x 15 = 45

  1. a) Describe the different addressing modes of 8086 microprocessor.

b)            What are the main functions of BIU ad EU units of 8086 microprocessor ?

c)            Describe pipeline hazards.

d)            Write the 8086 assembly language statement Which will perform the following operations :

i)                 Load the number 7986 H into the BP register

ii)  Copy the BP register contents to SP register

ill) Copy the contents of AX register to the DS register

iv) Load the number F3H into the AL register. ■’

a) Can an input port and output port have the same

address ? Justify.

b)             Write a subroutine to generate a delay of 40 ms between two successive counts, clock frequency is 2 MHz.

jc) Write the accumulator bit pattern for SIM and RIM instruction.

vji) Write the functions of the following pin of 8085 :

i) ALE U) HOLD

iii)     CLOCK OUT.      4 + 5 + 3 + 3

  1. a) Draw the timing digram for IN instruction of Intel

8085   microprocessors.

b)             What is the significance of masking ? Write the code which will mask RST 6*5.

c)             Explain how the contents of the two register pairs can be exchanged using STACK in 8085.

d)            Write a program to find the greatest number from the given 10 numbers. 5 + (l+3) + 3 + 3

  1. a) Describe the different addressing modes of 8086

microprocessors.

b) What are the main functions of BIU and EU units of

8086microprocessors.

c) Write the assembly language statement which will perform the following operations :

i) copy the BP register content to SP register

11) copy the contents of AX register to the DS register

ill) load the number F2 H into AL register

iv)  load the number 1456H into BP register .

3+(2+2)+8

  1. a) What is the purpose of DMA controller ?

b)            Write an assembly level program using subroutine to convert a packed BCD number into equivalent binary number. Given the packed BCD number is stored In memory location 2500 and the equivalent binary number is to be stored at memory location 5200.

c)            Explain the function of RIM instruction.

d)            What do you mean by 16-bit {nicroprocessor ?

e)            Compare the I/O mapped I/O and Memory mapped I/O.

    Choose the correct alternatives for any ten of the following :         10 x 1 = 10

i)         The stack and the stack pointer

a)        both reside in memory

b)        both reside in the CPU

c)         former resides in memory but the latter in the CPU

d)        former resides in CPU but the latter in the memory.

11) The number of I/O lines for the 8255 chip is

a) 16                                            b) 32

c) 8                                             d) none of these.

Leave a Comment