// peep 1 replace restart { movf %1,w movwf %2 movf %2,w } by { ; peep 1 - Removed redundant move movf %1,w movwf %2 } // peep 2 replace restart { decf %1,f movf %1,w btfss status,z goto %2 } by { ; peep 2 - decf/mov/skpz to decfsz decfsz %1,f goto %2 } // peep 3 replace restart { movwf %1 movf %1,w xorlw %2 } by { ; peep 3 - redundant move movwf %1 xorlw %2 } // peep 4 replace restart { btfsc %1,%2 goto %3 incf %4,f %3: } by { ;peep 4 - test/jump to test/skip btfss %1,%2 incf %4,f %3: } // peep 5 replace restart { btfss %1,%2 goto %3 incf %4,f %3: } by { ;peep 5 - test/jump to test/skip btfsc %1,%2 incf %4,f %3: } // peep 6 replace restart { btfss %1,%2 goto %3 %4: incf %5,f %3: } by { ;peep 6 - test/jump to test/skip btfsc %1,%2 %4: incf %5,f %3: } // peep 7 replace restart { btfsc %1,%2 goto %3 %4: incf %5,f %3: } by { ;peep 6 - test/jump to test/skip btfss %1,%2 %4: incf %5,f %3: } replace restart { movf %1,w movf %1,w } by { ; peep 8 - Removed redundant move movf %1,w } replace restart { movwf %1 movf %1,w } by { ; peep 9 - Removed redundant move movwf %1 } replace restart { movlw %1 movwf %2 movlw %1 } by { ; peep 10 - Removed redundant move movlw %1 movwf %2 } replace restart { movwf %1 movwf %1 } by { ; peep 11 - Removed redundant move movwf %1 }