Imre, I used STATUS,Z/SZ to point out one of the issues of converting MPASM to CVASM. I would normally use JNZ but SZ/JMP generates the same code. - Tom At 11:26 AM 5/17/99 +0200, Dr. Imre Bartfai wrote: >Hi, >I agree. However, a short remark. > >Instead of > SZ > JMP Label1 >one could write > JNZ Label1 >Imre >> BTFSS UBits,BIT2 MOVB BIT1,BIT2 >> BCF UBits,BIT1 >> BTFSC UBits,BIT2 >> BSF UBits,BIT1 >> BTFSS STATUS,Z SZ >> GOTO Label1 JMP Label1 >> MOVLW Limit CJAE Data,#Limit,Label2 >> SUBWF Data,W >> BTFSC STATUS,C >> GOTO Label2