Flowchart: Alternate Process: JUNE 2008

Code: AC23                                  Subject: MICROPROCESSOR BASED SYSTEM DESIGN

Time: 3 Hours                                                                                                     Max. Marks: 100

 

NOTE: There are 9 Questions in all.

·      Question 1 is compulsory and carries 20 marks. Answer to Q. 1. must be written in the space provided for it in the answer book supplied and nowhere else.

·      Out of the remaining EIGHT Questions answer any FIVE Questions. Each question carries 16 marks.

·      Any required data not explicitly given, may be suitably assumed and stated.

 

 

Q.1 A    Choose the correct or best alternative in the following:                                   (2x10)

          

a.       Data bus width and memory size for 80486 microprocessor is

 

(A) 16 bit and 2 Gb                             (B) 32 bit and 4 Gb

(C) 16 bit and 4 Gb                             (D) 32 bit and 2 Gb

 

b.      The memory address of the next instruction executed by the microprocessor, when operated in real mode, for CS=1A00H and IP=B000H is

 

(A) CA000H                                       (B) 25000H

(C) 1AB00H                                       (D) B1A00H

 

c.       Suppose that DS=1300H, SS=1400H, BP=1500H and SI=0100H, the address accessed by instruction MOV AL, [BP+SI-200H] is

 

(A) 14000H                                        (B) 15400H

(C) 27400H                                        (D) 15000H

 

d.      A Bus cycle is equal to how many clocking Periods

 

(A) two                                               (B) three

(C) four                                               (D) six

 

             e.    The time required to refresh a typical DRAM is

 

(A)   2 – 4                                       (B) 2 – 4 ns

(C) 2 – 4 ms                                        (D) 2 – 4 ps

 

f.        The no. of address lines required to address a memory of size 32K is

 

(A) 15 lines                                         (B) 16 lines

(C) 18 lines                                         (D) 14 lines

 

g.    No. of wait states required to interface 8279 to 8086 with 8MHz clock are

 

(A) Two                                              (B) Three

(C) One                                              (D) None

 


             h.    NMI input is .

 

(A)    edge sensitive                              

(B) level sensitive

(C) both edge and level triggered

(D) edge triggered and level sensitive

 

i.          Data rate available for use on USB is

 

                   (A)  12 Mbits per second                    (B) 1.5 Mbits per second

                   (C)  Both (A) and (B)                          (D) No restriction

 

             j.    In 80186, the timer which connects to the system clock is

 

                   (A)  timer 0                                         (B) timer 1

                   (C)  timer 2                                         (D) Any one can be connected

 

 

 

Answer any FIVE Questions out of EIGHT Questions.

Each question carries 16 marks.

 

 

  Q.2     a.   What is TPA (transient program area)? Draw the memory map of TPA in a personal computer and explain different areas.                                     (6)                                                                                                                                                                                                                          (6)

       

             b.   Compare 80186, 80286, 80386, 80486 and Pentium based on their data bus width, Address bus width and memory size.                                       (4)

 

             c.   What is memory Paging? Explain how it is used for memory addressing.              (6)

 

  Q.3     a.   Name different addressing modes of 8086 with atleast one example of each mode.             (8)

 

             b.   Write instructions to do the following operation.                                                  (4)

(i)      Subtract the data, stored 10 words after the location addressed by SI, from DX .

(ii)     Rotate all the bits of AL left three places.

(iii)    ADD BX with DX and save the result in BX.

(iv)    Add CX to the data stored at memory location WELL.                                 

 

             c.   What is the function of the following instructions                                                  (4)

                   (i)   JCXZ                                            (ii)  lock Prefix

                   (iii) BOUND                                       (iv) ESC

 

  Q.4     a.   Explain the following Directives                                                                          (4)

                   (i) PUBLIC                                         (ii)  EXTRN

 

             b.   Explain the function of the following Pins of 8086                                                (4)

                   (i)                                             (ii) 

                   (iii)                                     (iv)

 

c.       Describe in detail the software interrupts available in INTEL family. How interrupts are executed in real and protected mode.                                  (8)

 

  Q.5     a.   Explain the necessity of decoding when memory device is attached to a microprocessor?  With neat diagram indicate how a simple NAND gate decoder is used to select a 2716 EPROM memory component for memory locations FF800H-FFFFFH.                                                               (5)

                

             b.   Write a Program in assembly language to find the largest of n numbers stored in the memory.                                                                     (8)

 

             c.   Define the following                                                                                            (3)

                   (i) Isolated I/O                                     (ii) memory mapped I/O

                   (iii) hand shaking

 

  Q.6     a.   Explain in detail the operation of 8255 in mode1 taking suitable example.            (8)

 

             b.   What is the function of 8254 Programmable Interval Timer. Discuss any one of its applications in detail.                                                                 (8)

 

  Q.7     a.   Explain the architecture of 8087.                                                                        (8)

 

             b.   Explain the following instructions of 8087                                                            (3)

                   (i)  FXTRACT                                    (ii)  FPTAN

                   (iii) FSETPM                                      

 

             c.   Discuss the control words (ICWS) of IC8259.                                                   (5)

 

  Q.8     a.   Draw and explain the basic block diagram of 80186.                                          (8)

 

b.      Discuss the special registers of 80386. (8)

 

  Q.9           Write short note on “ANY FOUR” of the following                                          (16)

                   (i)     ISA BUS

                   (ii)    BIOS function calls

                   (iii)   Graphic Adapter and MONITOR

                   (iv)   DMA controller

                   (v)    Protected mode addressing