Showing posts with label Microprocessor and Microcontrollers-2. Show all posts
Showing posts with label Microprocessor and Microcontrollers-2. Show all posts

Wednesday, July 30, 2014

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) MAY 2010 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) MAY 2010  [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

Con.3514-10.                                        (REVISED COURSE)               AN-4528

                                                                   (3 Hours)                    [Total Marks:-100]

N.B: (1) Question No.1 is compulsory.
        (2) Attempt any four questions out of remaining six questions.
        (3) Assume suitable data, wherever required with justification.
        (4) Figures to the right indicate full marks.

1. (a) Draw the internal states of program memory, data register and flags of RIC18 microcontroller
         after executing the following set of instructions. In the interrupt vector table at address
         000000H a jump instruction is stored and the main program begins at location 000020H.
         Assume that the program execution starts when the microcontroller is power on
         reset. [10 Marks]
         MOVLW      0x89
         ADDLW       0x77
    (b) Explain the pipeline fetch and execution process with respect to the above
          program. [5 Marks]
    (c) Design an 8-bit serial input/output port interfaced at 0x08000 address in minimum mode
         of 8086 microprocessor. Show interface diagram and absolute memory map. [5 Marks]

2. (a) With neat diagram compare and explain different synchronizing methods for data transfer
          between 8086 microprocessor, and I/O devices. Clearly indicate the handshake
          signals. [10 Marks]
    (b) Explain the interrupt structure of 8086 microprocessor with respect to 8259 Programmable
         interrupt controller. [10 Marks]

3. (a) Draw the interface diagram of 8086 microprocessor and 8087 NDP, also explain various
         interface signals and co-processor working with host processor. [10 Marks]
    (b) Convert the decimal number - 187.625 into short real, long real and temporary real data
          types of 8087 NDP. [10 Marks]

4. (a) With neat diagram explain the different instruction formats of PIC18 controller. Also give
          the comparison of bit size of opcode for different instructions. [10 Marks]
    (b) Explain the working of following instruction of PIC18.
          (i) BTFSC F,b,a   (ii) BTG F,b,a   (iii) RRNCF F,d,a   (iv) IORWF F,d,a
              Specify the significance of each field in every instruction. [10 Marks]

5. (a) Write an assembly language program for an interface shown in Figure-1. Read an 8-bit data
         through DIP switch connected on PORTB and output the data to bit-0 of PORTC where an
         LED is connected. The clock frequency of the controller is 40 MHz and the data transfer rate
         at PORTC is 100 milliseconds. [10 Marks]
 
    (b) Draw the flow chart and write the an assembly language program for PIC18 controller to
         read and write five bytes from program memory to data memory. Assume the starting address
         of the program, data memory. [10 Marks]

6. (a) Write an assembly language program for an interface shown in figure-2. the interface is to
          implement a 3x3 bit calculator. The calculator has a two bit command interpreter as given in
          Table-1 to select different arithmetic operations. Display the result on LEDs connected on
          PORTC. [15 Marks]


    (b) Explain in brief various addressing modes of PIC 18 controller. [5 Marks]

7. Write a short notes on four of the following: [20 Marks]
     (a) Various assembly language directives and Macro functions.
     (b) String instructions of 8086.
     (c) Harvard architecture.
     (d) Dual functionality of parallel ports of PIC 18.
     (e) Stack related instructions of PIC 18.
     (f) What do you mean by object code compatibility in processor? How it is achieved in x86
          processor.


Tuesday, July 29, 2014

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) MAY 2013 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) MAY 2013  [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

Con. 7241-13.                                                                                            GS-9789
                                                  (3 Hours)                                         [Total Marks : 100]

N. B. : (1) Question No. 1 is Compulsory.
           (2) Solve any four questions from the remaining six questions.
           (3) Figures to the right indicate full marks.
           (4) Assume suitable wherever necessary.

1. (a)Design 8086 microprocessor based system using mininimum mode following10
specifications :-
     (i) 8086 microprocessor working at 8 MHz
     (ii) 32 KB EPROM using 16 K X 8 devices
     (iii) 32 KB SRAM using 16 K X 8 devices.
Clearly show memory map address ranges. Draw a neat schematic.
    (b)What is segmented memory and what are its advantages ? Explain logical and physical.5
address in 8086.
    (c)Explain features of PIC 18F microcontroller.5

2. (a)

Draw and explain interfacing of 8086 with 8255.

10
    (b)Explain data and program memory organization of PIC 18F microprocontroller.10

3. (a)

Give flowchart and assembly language program for 8086 to substract two 4 digit

10
BCD numbers.
    (b)Explain the following instructions of PIC 18F microcontroller :-10
       (i) DAW
      (ii) MOVLB 0 X 06
     (iii) TBLRD*+
     (iv) SLEEP

4. (a)

Explain interrupt structure of 8086.

10
    (b)Explain addressing modes of PIC 18F microcontroller.10

5. (a)

Interface 8259A to 8086 and write initialization instructions for 8259A to meet

10
the following specifications :-
       (i) Edge triggered, single
      (ii) Mask interrupts IR1 and IR4
      (iii) Interrupt vector type for IRO is 60H.
    (b)List and explain stack related and processor control instructions of 8086.10

6. (a)

Explain 8086 maximum mode of operation in detail.

10
    (b)Write assembly language program for PIC 18F microcontroller to evaluate the10
following expression.
Y = P X Q + R X S
where p, Q, R and S are 8 bit numbers, which are located at memory locations
0 X 20 to 0 X 23. Store the result Y in memory locations 0 X 24 to 0 X 26.

7.

Write short notes on any four of the following:-

20
       (a) PIC 18F pipelining
       (b) PIC 18F STATUS register
       (c) Memory banking in 8086
       (d) PIC 18F microcontroller REST.
       (e) Advantages of memory segmentation.

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) DECEMBER 2012 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) DECEMBER 2012 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

Con.8257-12                                                                                                  KR-8720

                                        (3 Hours)                                                      [Total Marks:-100]

N.B: (1) Questions No.1 is compulsory.
        (2) Attempt any four questions from remaining six questions.

Q.1 (a) Compare 8086 and 8088 microprocessor. [4 Marks]
       (b) Write function for following pin for 8086 microprocessor. [6 Marks]
               (i) 
              (ii) 
             (iii) 
       
       (c) Explain status register of PIC 18. [5 Marks]
       (d) Write a program for PIC 18 to configure PORT B as output send 55 and AA atternately
             to PORT B. [5 Marks] 

Q.2 (a) Explain interrupt structure of 8086 microprocessor. [10 Marks]
       (b) Explain difference between 8086, 80186, 80286,80386 and 80486 microprocessor.
             [10 Marks]

Q.3 (a) Explain addressing modes of 8086 microprocessor. [10 Marks]
       (b) Explain following instruction of PIC-18 [10 Marks]
             (i) BTFSS F,b, A
            (ii) XORWF F,d,a
           (iii) ADDLW 0 x 25
           (iv) MOVFF
           (v) NEGF f,a.

Q.4 (a) Explain instruction formate used in PIC-18. [10 Marks]
       (b) Explain maximum mode of 8086 microprocessor. [10 Marks]

Q.5 (a) Draw and explain interfacing of 8086-8295 PIC. [10 Marks]
       (b) Explain features of coprocessor 8087. Explain interfacing with 8086 microprocessor.
             [10 Marks]

Q.6 (a) Explain I/O port structure of PIC-18. [10 Marks]
       (b) A Bank of 8 push buttons keys are connected to PORT B of PIC-18. Write a program to
            recognize key pressed, debounce key and identify location in the key bank with numbers
            from 0 to 7. [10 Marks]   

Q.7 (a) Explain assembler directives used in 8086 microprocessor. [10 Marks]
       (b) Explain pipeline concept used in PIC-18. [10 Marks]

Monday, July 28, 2014

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) DECEMBER 2013 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) DECEMBER 2013 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

Con. 7339-13.                                                                                                   LJ - 11488
                                                           (3 Hours)                                        [Total Marks : 100]

N. B. : (1) Question No. 1 is Compulsory.
           (2) Solve any four questions from remaining questions.

1. (a)Design memory system for 8086 microprocessor with following specifications :-12
   (i) 8086 microprocessor working in mininimum mode at 10MHz frequency.
  (ii) 32 KB EPROM using 8 KB Chips
  (iii) 16 KB SRAM using 4 KB Chips.
Explain the design and show memory address map.
    (b)Draw and explain typical I/O port pin structure of PIC 18.4
    (c)Describe Mode Set Register of DMA controller 8257.4

2. (a)

Explain control word and status word of 8087 NDP.

10
    (b)Describe addressing modes of PIC 18.10

3. (a)

Interface Seven segment dispaly with PIC 18 and explain its working.

8
    (b)Draw and explain timing diagrams for read operation in minimum and maximum12
mode of 8086 microprocessor.

4. (a)

Explain memory organisation of PIC 18.

10
    (b)With neat diagram explain interfacing of DMA controller 8257 wiith 808610
microprocessor in minimum mode.

5. (a)

Write an assembly language program for 8086 microprocessor to check whether.

10
a string of 10 characters represents Palindrome.
    (b)Interface 8087 NDP with 8086 microprocessor and expalin their interaction.10

6. (a)

Which are the different methods of program looping?Explain each method in short.

10
    (b)Describe how interface chip and I/O Devices are synchronised. Explain it using10
pulse mode.

7.

Write notes on (any four):-

20
      (a) Status register of PIC 18
      (b) Control flags of 8086
      (c) Assembler directives
      (d) Programming model of 8086
      (e) Advantages of memory segmentation.

Saturday, July 26, 2014

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) MAY 2012 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) MAY 2012 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

                                                               (3 Hours)                               [Total Marks:-100]

N.B: (1) Questions No.1 is compulsory.
        (2) All questions carry equal marks.

Q.1 (a) Design 8086 microprocessor based system with following specification [10 Marks]
             (i) Microprocessor 8086 working at 10 MHz.
            (ii) 32 KB EPROM using 8 KB chips.
           (iii) 16 KB SRAM using 4 KB chips.
            Explain the design.
        (b) Differentiate 8086, 80286 and 80386 on the basis of address bus size, data bus size,
             number of segment registers and maximum size of every segment. [4 Marks]
        (c) Explain data memory organisation of PIC 18. [6 Marks]

Q.2 (a) Discuss different instruction formats of PIC 18. [10 Marks]
       (b) Draw timing diagram for write operation in maximum mode of 8086 and explain
            it. [10 Marks]

Q.3 (a) Explain different data types supported by 8087 NDP with example. [10 Marks]
       (b) Interface DMA controller 8257 with 8086 microprocessor. Explain different data transfer
            modes of 8257 DMA controller. [10 Marks]

Q.4 (a) Write assembly language program for 8086 to exchange contents of two memory
             blocks. [10 Marks]
       (b)  i. Explain status register of PIC 18. [5 Marks]
             ii. Explain pipeline concept used in 8086 microprocessor. [5 Marks]

Q.5 (a) Which are the different types of interrupt supported by 8086? Explain how 8086 provides
             service to any interrupt? [10 Marks]  
       (b) Write functions of following instructions of PIC 18 [10 Marks]
             i. movlw 0x25   ii. cpfseq 0x25,A   iii. bnc n   iv. tblrd*+   v) btg 0x25,7,a

Q.6 (a) Explain different string primitives of 8086 microprocessor. [10 Marks]
       (b) With help of neat diagram explain interfacing of six, 7 segment displays with
             PIC 18. [10 Marks]

Q.7 a) Write note on:- [20 Marks]
            i) Data related addressing modes of 8086  
           ii) Assembler durectives
          iii) Clock generator 8284
          iv) I/O port structure of PIC 18.          

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) MAY 2014 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) MAY 2014 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

                                                                                                          QP Code : MV-18092
                                                          (3 Hours)                                    [Total Marks : 100]

Q1. is compulsory
Solve any four out of remaining

1. (a)Draw and explain read write bus cycle of 8086 in maximum mode.5
    (b)What are advantages of memory segmentation in 8086?5
    (c)Write features of PIC-18.5
    (d)Explain PIC 18 data memory organization.5

2. (a)

Draw and interface diagram of 8086 microprocessor and 8087 NDP, also explain

10
various interface signals and co-processor working with host processor.
    (b)Design a system using 8086 in minimum mode with following specifications10
     1. 8086 operating on MHz
     2. 16 KB RAM using 8 KB device with starting address of 10000.
     3. 16 KB EPROM using 8 KB device.

3. (a)

What is string adressing mode of 8086. Explain string instructions of 8086.

10
    (b)Draw and explain interfacing of 8086(maximum mode) and 8259 In single mode.10

4. (a)

Write assembly language programme for 8086 to exchange a 1 KB block of data

10
from memory location 40000 to 50000.
    (b)Explain following Instructions of PIC1810
1. ANDLW k 2. BTFSC f,b 3. SUBLW k 4. DECFSZ f,d 5. RRF f,d

5. (a)

Connect four 7-segment displays to PIC18 and write assembly language

10
programme to display '5' on LSB of display.
    (b)Write Instruction format of PIC 18 instructions.10

6. (a)

Draw and explain interfacing 0f 8086 and 8257 DMA controller.

10
    (b)Explain I/O synchronization methods of PIC18.10

7. (a)

Explain interrupt structure of 8086.

10
    (b)Explain assembler directives of 8086.10

MICROPROCESSORS AND MICROCONTROLLERS - 2(MPMC) MAY 2011 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

MICROPROCESSORS AND MICROCONTROLLERS - 2(MPMC) MAY 2011 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

                                                                   (3 Hours)                         [Total Marks:-100]

Q.1 A. Design 8086 microprocessor based system with following specifications  [12 Marks]
           (i)  8086 microprocessor working at 8 MHz.
           (ii)  32 KB EPROM using 16 KB chips
           (iii) 32 KB SRAM using 16 KB chips
      b) Compare 80286 microprocessor and 80386 microprocessor on the basis of  [3 Marks]
           (i) Number of address lines
          (ii) Number of data lines
          (iii) Number of segment registers
      c) Write a program for PIC 18 to configure PORTA  for input, PORTB and PORTC for output.
           Read data from PORTA and transfer it to PORTB and PORTC. [5 Marks]

Q.2 a) Draw PSW of 8086 microprocessor and explain setting of different bits with
           example. [10 Marks]
       b) Discuss different data transfer modes of DMA controller 8257. [6 Marks]
       c) Write function of following 8086 microprocessor pins. [4 Marks]
            i) LOCK   ii) QS0   iii) QS1     
Q.3 a) Write addressing modes of following 8086 microprocessor instructions. [5 Marks]
            i) MOV CL, 25H    ii) MOV [SI],BX
          iii) ADD BX,DX       iv) SUB CL, [BX+SI]
          v) IN AL,80 H
       b) Explain data and program memory organization of PIC 18. [10 Marks]
       c) Discuss pipelining used in PIC 18. [5 Marks]

Q.4  a) Draw block diagram of a typical I/O port pin of PIC 18. Which are the different register
             involved in the operation of I/O ports of PIC 18 and write their operation. [10 Marks]
        b) Which are the different methods used for program loop. Explain each method in
             short. [10 Marks]

Q.5 a) Explain following instructions of PIC 18. [10 Marks]
            i) CLRF F,a      ii) BCF F,b,a
           ii) DAW            iii) CPFSEQ F,a
           v) BC n
      b) Explain maximum mode of 8086 microprocessor. [10 Marks]

Q.6 a) Draw timing diagram for write operation in minimum mode of 8086 and
           explain. [10 Marks]
      b) Explain different string primitives of 8086 microprocessor. [10 Marks]

Q.7 Write note on (Any Two): [20 Marks]
       i) Instruction formats of PIC 18
      ii) Interrupt structure of 8086 microprocessor
     iii) Assembler directives 

Friday, July 25, 2014

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) DECEMBER 2011 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

MICROPROCESSORS AND MICROCONTROLLERS - 2 (MPMC) DECEMBER 2011 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

1. (a)Design 8086 Microprocessor based system with following specifications :-12
       (i) 8086 Working at 6MHz
       (ii) 16 KB EPROM using 8 KB Chips
      (iii) 16 KB SRAM using 8 KB Chips.
    (b)Draw the memory organisation of PIC 18 controller and explain.8

2. (a)

Draw interface diagram of 8086 with 8087 and expalin various interface signals

10
and working.
    (b)Convert the decimal number 125.125 into short real, long real format of 8087.10

3. (a)

Explain the interrupt structure of 8086 Microprocessor with respect to 8259 PIC.

10
    (b)Draw the PSW of 8086 and explain setting of different bits with example.10

4. (a)

Draw and explain interfacing of 8086 with 8255.

10
    (b)Write 8086 based program to transfer n bytes of data from source memory area10
to the destination memory area.

5. (a)

With neat diagram explain the different instruction formats of PIC 18 controller.

10
Also give the comparison of bit size of OPcode for different instructions.
    (b)Draw the flow chart and write assembly language program for PIC 18 controller10
to read and write ten bytes from program memory to data memory.

6. (a)

Explain the addressing modes of PIC 18 controller with suitable example.

10
    (b)Discuss the pipeline concept used in PIC 18.10

7.

Write sort notes on any two of the following :-

20
     (a) Stack related instructions of PIC 18.
     (b) Dual functionality of parallel ports of PIC 18
     (c) String instructions in 8086.

MICROPROCESSORS AND MICROCONTROLLERS - 2(MPMC) DECEMBER 2010 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

MICROPROCESSORS AND MICROCONTROLLERS - 2(MPMC) DECEMBER 2010 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6

Con.6416-10.                                        (REVISED COURSE)                          GT-7548

                                                                       (3 Hours)                            [Total Marks :-100]

N.B:- (1)Question No.1 is compulsory.
          (2) Solve any four from remaining six questions. 

1. (a) Design 8086 based microcomputer system using minimum mode with following
         specification [12 Marks]              

  • CPU working at 5Mhz
  • 32 KB SRAM(16K X 8 Device)
  • 32 KB EPROM (8 K X 8 Device)

    Clearly show address decoding with appropriate address map using exhaustive decoding.
    Draw a neat schematic.
    (b) Explain in brief the memory organization of PIC18microcontroller and also explain the purpose            of processor stack. [8 Marks] 
2. (a) Write a program for PIC18F to read 8 bit data on port B, swap the nibbles and output the 
          result on port D. [10 Marks] 
     (b) Explain how an interrupt is processed and interrupt service routine is executed in 
          PIC18F. [10 Marks]  

3. (a) Write a program for performing 32 bit X 32 bit multiplication using 8086. Assume the operands 
          and result are stored in memory. [10 Marks]
    (b) Explain following instructions in PIC18F:- [10 Marks]
          i) MOVLW    ii) BCF    iii) ADDWF    iv) RLF    v) COMF 

4. (a) Give two examples of each types of addressing mode in 8086. [8 Marks]
          (i) Direct addressing   (ii) Based Addressing
         (iii) Based in indexed addressing   (iv) Implicit addressing
     (b) Explain any two operations of Timer in PCF18F and write a program to calculate delay 
          of 100 microsecond (frequency 40 MHz). [12 Marks]

5. (a) Write a program to divide the unsigned 16-bit number OFOF h stored in data register REG1 
          and REG2 (MSB in REG2) by 8. [10 Marks] 
    (b) Draw interface of 8086-8087 and explain its working with the help of queue status, request/grant 
          and busy/test interface. [10 Marks]

6. (a) Explain different modes of operations of DMA Controller. [10 Marks]
    (b) Write an assembly language program using 8086 instructions for an up counter, which counts 
          from 00 to 7F (hexadecimal). It start on occurrence of an interrupt and counts up by ten digits 
          every time the interrupt arrives. [10 Marks]  
 
7. (a) What is segmented memory and what are its advantages? Explain logical and physical address 
          in 8086. What are default segment assignments and what is segment override? Explain with 
          suitable examples. [10 Marks]  
    (b) Explain flag register of 8086. Show with suitable examples how direction flag is useful in 
         string instructions. [10 Marks]