title: How to reset a PIC18 in C?
body: <p>What is the best way to reset a PIC18 using  C code with the HiTech  Pic18 C compiler?</p>
  
  <p>Edit:</p>
  
  <p>I am currenlty using</p>
  
  <pre><code>void reset()
  {
  #asm 
    reset
  #endasm
  }
  </code></pre>
  
  <p>but there must be a better way</p>