John Payson wrote: > How about this one [figure out what it does yourself :-)] > > movf Num1,w > movwf Result > > movf Num2,w > subwf Result,w > btfss C > subwf Result,f > > movf Num3,w > subwf Result,w > btfss C > subwf Result,f > > Anyone know of any smaller way? John: Does this work? MOVF NUM1,W SUBWF NUM2,W MOVF NUM1,W SKPC MOVF NUM2,W MOVWF RESULT SUBWF NUM3,W SKPC ADDWF RESULT -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - Vista, California === === Custodian of the PICLIST Fund -- For more info, see: === http://www.geocities.com/SiliconValley/2499/fund.html