0% found this document useful (0 votes)
15 views5 pages

QB - DEE501 Microprocessor

Important questions for MP subject

Uploaded by

Vivek Chahar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views5 pages

QB - DEE501 Microprocessor

Important questions for MP subject

Uploaded by

Vivek Chahar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

TECHNICAL

 COLLEGE   1  
DAYALBAGH  EDUCATIONAL  INSTITUTE  
DEE  501  –  MICROPROCESSOR  &  APPLICATIONS  
QUESTION  BANK  
 
 
UNIT  1  
 
1. Implement  a  full  adder  using  half  adders.  
 
2. Draw  the  circuit  for  a  2’s  compliment  adder-­‐subtracter.  
 
3. Explain  the  working  of  an  RS  latch.  Draw  its  logic  gate  diagram  and  its  truth  table.  
 
4. What  is  the  difference  between  level  clock  triggered  and  clock  edge  triggered  D  flip-­‐
flop?  Show  also  the  difference  between  positive  clock  edge  and  negative  clock  edge  
with  the  help  of  timing  diagram  using  D  flip-­‐flop.  
 
5. Explain   the   working   of   JK   flip-­‐flop.   Show   its   logic   circuit   diagram   along   with   its  
truth  table.    
 
6. Show  how  a  JK  flip-­‐flop  can  be  used  as  a  toggle  flip-­‐flop.  
 
7. Draw  the  circuit  diagram  of  JK  master-­‐slave  flip-­‐flop.  Explain  the  working  with  the  
help  of  a  truth  table.  
 
8. Construct  a  4-­‐bit  controlled  buffer  register  with  separate  control  (LOAD)  to  load  the  
data  in  parallel.  
 
9. Construct  a  4-­‐bit  controlled  shift-­‐left  register  with  a  control  for  shifting  the  data.  
 
10. What  is  3-­‐state  register?  What  are  its  states?  Where  is  it  used?  
 
11. Construct  a  4-­‐bit  asynchronous  ripple  counter.  
 
12. What  do  ROM,  PROM,  EPROM  and  RAM  mean?  How  is  working  of  these  different?  
Where  is  each  one  of  them  used?  
 
13. Construct  a  diode  ROM  with  a  3-­‐bit  address  bus  and  a  4-­‐bit  data  bus.  Explain  how  it  
works.  
 
UNIT  2  
 
(Questions  are  with  reference  to  SAP  1)  
 
1. Using   only   the   given   basic   components,   construct   a   simple   microprocessor  
(program   counter,   memory   address   register,   RAM,   instruction   register,   controller,  
accumulator,   adder/subtracter,   B-­‐register,   output   register,   LED   display).   Show   all  
the  controls  and  communication  paths.  Explain  in  brief  the  working  of  it.    
 
2. What  do  the  following  components  do  in  a  microprocessor:  
i. Program  Counter  
ii. Memory  Address  Register  
iii. RAM  
iv. Instruction  Register  
v. Controller  

Download Source : www.tsdei.blogspot.com


TECHNICAL  COLLEGE   2  
DAYALBAGH  EDUCATIONAL  INSTITUTE  
DEE  501  –  MICROPROCESSOR  &  APPLICATIONS  
QUESTION  BANK  
 
 
vi. Accumulator  
vii. Adder/Subtracter  
viii. B-­‐register  
ix. Output  register  
x. LED  display  
 
3. What   id   meant   by   an   instruction   set   of   a   microprocessor.   Explain   via   describing   the  
operation  of  the  following:  
i. LDA  addr  
ii. SUB  
iii. ADD  
iv. OUT  
v. HLT  
 
4. What  do  the  following  terms  mean:  
i. Instruction  cycle  
ii. Machine  cycle  
iii. Fetch  cycle  
iv. Execution  cycle  
 
5. Explain   in   detail   the   important   steps   consisting   of   a   fetch   cycle.   Use   a   simplified  
microprocessor   control   word   to   explain   commands   sent   to   various   components  
during  each  step.  
 
6. Explain   in   detail   the   important   steps   consisting   of   an   execution   cycle.   Use   a  
simplified   microprocessor   control   word   to   explain   commands   sent   to   various  
components  during  each  step.  Take  the  following  examples:  
i. LDA  addr  
ii. SUB  
iii. ADD  
iv. OUT  
v. HLT  
 
7. Use  timing  diagrams  and  block  diagrams  to  explain  the  important  steps  consisting  
of  a  fetch  cycle  and  execution  cycle  for  ADD  B  instruction.    
 
8. Use  timing  diagrams  and  block  diagrams  to  explain  the  important  steps  consisting  
of  a  fetch  cycle  and  execution  cycle  for  OUT  instruction.  
 
UNIT  3  
 
1. Explain  how  do  the  following  work:  
i. Jump  and  Call  instructions  
ii. Arithmetic  and  Logic  immediates  
iii. Extended  register  instructions  
iv. Indirect  instructions  
 
2. Explain  how  do  the  following  work:  
i. Bidirectional  registers  
ii. Data  transfer  instructions  

Download Source : www.tsdei.blogspot.com


TECHNICAL  COLLEGE   3  
DAYALBAGH  EDUCATIONAL  INSTITUTE  
DEE  501  –  MICROPROCESSOR  &  APPLICATIONS  
QUESTION  BANK  
 
 
iii. Increment  and  decrement  instructions  
iv. Arithmetic  and  logic  instructions  
v. Stack  instructions  
 
3. Write  a  program  to  add  decimal  345  and  753  (use  immediate  bytes  for  that  data).  
 
4. How  much  time  delay  does  this  SAP-­‐2  routine  produce:  
  MVI  B,  0AH  
LOOP1:   MVI  C,  47H  
LOOP2:   DCR  C  
  JNZ  LOOP2  
  DCR  B  
  JNZ  LOOP1  
  RET  
 
5. Write  an  assembly  language  program  to  add  two  hexadecimal  numbers  34  and  46.  
The  answer  is  to  be  stored  in  memory  location  3000H.    
 
6. Suppose   that   256   bytes   of   data   are   stored   between   addresses   2000H   and   20FFH.  
Write  a  program  that  copies  these  bytes  to  addresses  3000H  to  30FFH.  
 
7. Suppose  that  1024  bytes  of  data  are  stored  between  addresses  5000H  and  53FFH.  
Write  a  program  that  copies  these  bytes  to  addresses  9000H  to  93FFH.  
 
8. Explain  what  the  following  program  is  doing:  
  LXI  H,  2500H  
  MOV  C,  M  
  INX  H  
  MOV  B,  M  
  MVI  A,  00H  
LOOP:   ADD  C  
  DCR  B  
  JNZ  LOOP  
  INX  H  
  MOV  M,  A  
  HLT  
 
9. Write  a  program  for  an  8085  microprocessor  to  produce  a  delay  of  1  second  using  a  
1MHz  clock.  
 
10. Determine   the   hexadecimal   number   left   in   the   accumulator   and   the   state   of   the  
carry  flag  after  execution  of  the  following  program:  
MVI  A,  6FH  
MVI  B,  A4H  
ANI  44H  
RAL  
HLT  
 
11. What  is  the  function  of  stack  pointer  in  8085?  Explain  its  use  in  writing  programs.  
 

Download Source : www.tsdei.blogspot.com


TECHNICAL  COLLEGE   4  
DAYALBAGH  EDUCATIONAL  INSTITUTE  
DEE  501  –  MICROPROCESSOR  &  APPLICATIONS  
QUESTION  BANK  
 
 
12. Explain  the  effect  of  the  following  sequence  of  instructions:  
PUSH  D  
PUSH  B  
POP  D  
POP  B  
 
 
UNIT  4  
 
1. Draw  the  block  diagram  of  an  8085  microprocessor.  
 
2. Draw   the   pin   diagram   of   the   8085   chip   labeling   each   pin.   Describe   briefly   the  
functions  of  each  pin.  
 
3. Illustrate  steps  and  timing  diagram  when  instruction  code  01001111  (4FH  –  MOV  C,  
A)  stored  in  location  2005H  is  being  fetched.  
 
4. Illustrate   steps   of   fetch   and   execute   cycle   along   with   timing   diagram   when  
instruction  MVI  A,  32H  is  executed.  Given  opcode  of  MVI  A,  byte  is  3EH  and  is  stored  
in  2000H  memory  location  and  32H  is  stored  in  2001H  location.  
 
5. Explain  and  draw  timing  diagram  of  register  move:  MOV  reg1,  reg2.  
 
6. Explain  and  draw  timing  diagram  of  indirect  read:  MOV  reg,  M.  
 
7. Explain  and  draw  timing  diagram  of  indirect  write:  MOV  M,  reg.  
 
8. Explain  and  draw  timing  diagram  of  instruction  OUT.  
 
9. What  do  the  following  instructions  mean:  
i. XCHG  
ii. STAX  B  
iii. LDAX  B  
iv. LHLD  address  
v. SHLD  address  
vi. PCHL  
vii. SPHL  
viii. XTHL  
 
10. What  does  the  following  program  do:  
MVI  A,  39H  
ADI  97H  
DAA  
HLT  
 
 
 
 
 
 

Download Source : www.tsdei.blogspot.com


TECHNICAL  COLLEGE   5  
DAYALBAGH  EDUCATIONAL  INSTITUTE  
DEE  501  –  MICROPROCESSOR  &  APPLICATIONS  
QUESTION  BANK  
 
 
UNIT  5  
 
1. Using  programmed  I/O  concept,  write  a  program  to  input  256  bytes  and  store  them  
at  address  2000H  through  20FFH.  Bit  6  of  port  10H  is  connected  to  START  input  of  
the  peripheral  device,  bit  7  of  port  11H  to  the  STATUS  output.  The  device  can  send  
data  to  the  CPU  through  port  12H.  
 
2. Using  programmed  I/O  concept,  write  a  program  to  output  256  bytes  from  memory  
locations   2000H   to   20FFH.   Bit   6   of   port   10H   is   connected   to   START   bit   of   the  
peripheral  device,  bit  7  of  port  11H  to  the  STATUS  output  of  the  device.  The  device  
can  receive  data  from  CPU  through  port  12H.  
 
3. Write  short  note  on  interrupt.  
 
4. Explain  what  is  direct  memory  access  and  where  is  its  application?  
 
5. Draw  the  block  diagram  of  PPI  8255  and  explain  briefly  about  each  block.  
 
6. Explain  the  various  modes  of  operation  of  PPI  8255.  
 
7. Write   a   program   that   takes   an   input   from   port   A   and   port   B   and   after   detecting   if  
any  of  them  are  zeros,  sends  high  value  at  pin  4  of  port  C.  
 
8. Write   initialization   instruction   for   the   8255   to   set-­‐up   port   A   as   an   output   port   in  
mode  0,  port  B  as  an  output  port  in  mode  1  and  port  C  as  an  output  port.  
 
9. Write  short  notes  on  the  following:  
i. Program  Input/Output  
ii. Serial  Input  and  Serial  Output  
iii. Direct  Memory  Access  
 

Download Source : www.tsdei.blogspot.com

You might also like