ON 20051130@1:31:33 PM at page: http://www.piclist.com/techref/microchip/math/add/32brb.htm#38686.5417939815 James Newton[JMN-EFP-786] published post 38686.5417939815 twofour1 w c z
255 ? 1 ?
movf twofour1,w ;255 255 1 0
btfsc STATUS,c ;do not skip
incfsz twofour1,w ;0 255 1 1
addwf prod1,f ;skipped > prod1 no changed
|Delete 'P-' before: '' but after: ' Oh, I see incfsz performs the carry with W and if W carrys again on the increment then W=0 and hence no change.

Very clever! |Delete 'P-' before: '' but after: '