In a message dated 9/13/01 5:07:27 AM Pacific Daylight Time, joecolquitt@CLEAR.NET.NZ writes: > Yes, if you care about the contents of W and Status they > should be saved, but it wouldn't explain why the program > seems to choke after the btfsc > Those were my thoughts exactly. > movfw min > sublw .60 > > btfsc STATUS,C > goto hours > goto day > > Tim, you should be aware that SUBLW actually performs > Subtract W from Literal, not Subtract Literal from W as > you'd expect (SUBWF is the logical Subtract W from F) > > I remember there being a quirk in one of the subtraction instructions that wasn't WYSIWYG. My own logic says that I'm loading my minutes counter into W and subtracing THAT value from .60. Of course, if I go the decfsz route then I wouldn't have to worry about this. -Tim -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu