title: PIC Assembly: Calling functions with variables
body: <p>So say I have a variable, which holds a song number. -> song_no</p>
  
  <p>Depending upon the value of this variable, I wish to call a function. </p>
  
  <p>Say I have many different functions:</p>
  
  <p>Fcn1
  ....
  Fcn2
  ....
  Fcn3</p>
  
  <p>So for example,
  If song_no = 1, call Fcn1
  If song_no = 2, call Fcn2
  and so forth...</p>
  
  <p>How would I do this?</p>