title: How are divisions handled in the PIC18 ISA
body: <p>Kind of an extension of <a href="https://stackoverflow.com/questions/3694100/converting-to-ascii-in-c">Converting to ASCII in C</a> , I was wondering exactly how divisions are handled on a PIC18X.</p>
  
  <p>If I perform a DIV operation, how many instructions does the compiler interpret that as?
  How many clock cycles will it take for the operation to complete? Is the number of clock cycles dependent on my dividend, divisor, or both?</p>
  
  <p>As kind of a less important side question: What was the first CPU to include dedicated division hardware?</p>