G'day Jason, For each of the ten numbers, add them into the W register using an ADDWF instruction, but check the C flag of STATUS after each addition. If the C flag is set, increment the n_hi register. clrf n_hi clrw addwf n1, w skpnc incf n_hi addwf n2, w skpnc incf n_hi ... movwf n_lo Or if the numbers are in a series of locations, use FSR and INDF to loop through them. -- James Cameron mailto:quozl@us.netrek.org http://quozl.netrek.org/ -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.