With a few proviso's mikes way beats it hands down
if i attempts to underflow its set to 0Code:IF Z<100 THEN I=I-5 asm BTFSS STATUS,C CLRF _I ENDASM
With a few proviso's mikes way beats it hands down
if i attempts to underflow its set to 0Code:IF Z<100 THEN I=I-5 asm BTFSS STATUS,C CLRF _I ENDASM
Warning I'm not a teacher
Bookmarks