BHARATHIDASAN ENGINEERING COLLEGE
NATTRAMPALLI  635 854.
B.E., EEE  3
RD
 year 
MODEL EXAM I
Sub name
Sube!"
# MICROPROCESSORS AND   
MICROCONTROLLER
      Ma$ Ma%&'# ())
Sub C*+e # EE,354       T-me # 3 .*u%'
Part- A (10 x 2 = 20 marks)
1.  What are the different ways to end the interrupt execution in 8259 
Programmable Interrupt controller 
2. What is the function of !can section in 82"9 programmable #eyboard$%isplay 
&ontroller 
'.  (ist the alternati)e functions assigned to Port ' pins of 8*51 microcontroller. 
+.  ,ention the si-e of %P./ and !tac# Pointer in 8*51 microcontroller. 
5.  What is the operation of the gi)en 8*51 microcontroller instructions0 1/( 23direct 
4.  What are the different operations performed by 5oolean )ariable instruction of 
8*51.
  "    %raw the 6,ode Word7 format of 8251 8!2/.. 
  8.   !tate the use of I!/ and P/ registers in 8259 PI&. 
  9.   (ist the on9chip peripherals of 8*51 microcontroller. 
1*.   Why do we need opto9isolator circuit between microcontroller and the !tepper motor 
Part- B(5x 16=80 marks)
11. :a; <xplain the operation of 8255 PPI Port 2 programmed as input 
            and output in ,ode 1 with necessary handsha#ing signals. :14;           
=>/?
:b; With functional bloc# diagram3 explain the operation and programming of 8251    
8!2/. in detail :14;
12 :a; i;%raw the logical bloc# diagram of 82"9 #eyboard display controller and 
explain.:8;
ii; %raw and explain the functional bloc# diagram of 8259 programmable 
interrupt controller :8;
=>/?
:b; :i; %raw the control word of 825' timer$counter and explain the operating modes 
of 825' timer$counter. :8; 
:ii; Why do we need 2$% con)erter and %$2 con)erter %raw the bloc# diagram to 
interface 8*85 microprocessor with 2$% con)ertor and %$2 con)ertor. :8; 
1' :a; :i; <xplain the program memory and data memory structure of 8*51 
microcontroller. :8; 
      :ii; %raw the pin diagram of 8*51 microcontroller and explain its port structure. :8; 
=>r?
    :b; :i; %raw the .,>% register format and explain the different operating modes of      
timer in 8*51 microcontroller. :8; 
:ii; <xplain how serial communication is performed in 8*51 microcontroller. :8;
1+. :a; :i; <xplain the %ata transfer instructions and Program control instructions of 8*51  
microcontroller. :8; 
 :ii; Write an assembly language program based on 8*51 microcontroller instruction set 
to perform four arithmetic operations on 23 8 bit data. :8;
=>r? 
 :b; :i; <xplain the interfacing of @eyboard$%isplay with 8*51 ,icrocontroller. :8; 
       :ii; <xplain the !er)omotor control using 8*51 microcontroller. :8; 
15. :a; :i; <xplain with a program to rotate the stepper motor in both cloc#wise and  
anticloc#wise direction using 8*51 microcontroller. :8; 
          :ii; Aow to interface a " segment display using 8*51 microcontroller. :8; 
=>r?
:b; :i; Aow 8*51 is used in washing machine control :8;      
     :ii; Aow do you interface a + B + matrix #eyboard using 8*51 microcontroller :8;