;********************************************************************* ; UMULT8x8 - Prod_H:Prod_L = mulcnd * mulplr ; UMULT8x8: clrf Prod_H ; Clear outputs clrf Prod_L ; " movlw 8 movwf count movf mulcnd, W bcf STATUS, C ; Clear the carry bit in the status Reg. UM8x8loop: rrf mulplr, F btfsc STATUS, C addwf Prod_H, F rrf Prod_H, F rrf Prod_L, F decfsz count, F goto UM8x8loop
return |