Try this; mins = (mins + 1) // 60 to force the add before the divide.
If you're really "squished" for space, this will do the same thing, and save
you around 10 words or so code space.
Just be sure to keep Mins in bank0.Code:asm incf _Mins,f movf _Mins,w sublw D'60' btfss STATUS,2 goto _NotOver clrf _Mins endasm NotOver:
Bookmarks