From: Scott Dattalo Subject: Re: [PIC]: 16-bit 16c7xx comparison code Date: Tue, 10 Apr 2001 22:33:19 -0500 MIME-Version: 1.0 Could you post the code in question? If you're refering to the classic 6 instruction subtract: ;XH:XL YH:YL movf yl,w subwf xl,w movf yh,w skpz ;; piclist webpage has this--> incf yh,w ;propagate the carry from the... incfsz yh,w ;propagate the carry from the low byte subtraction. subwf xh,w skpnc goto x_is_greater_than_or_equal_to_y The code you posted was the one I had in question, it has incf instead of incfsz, so your fix is correct. Hopefully someone will update that then ;) Thanks _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu