PIC Microcontoller Math Method

Divide 8 bits by the constant value 10 on a PIC18

Divide WREG by 10 on a PIC 18:

   addlw .1
   btfsc STATUS,C
   addlw .255
   mullw .51
   rrcf PRODH,W