Use 'ao-dbg' instead of 's51' to communicate with TeleMetrum
[fw/sdcc] / src / pic16 / peeph.def
index 511e2efb5c557b5bd1fb5eb7109f6cf4e6b523a1..dffb192d06220ae967e400ac03e3cd0b5cdcf433 100644 (file)
@@ -285,3 +285,24 @@ replace restart {
         movf    %1,w
 }
 
+replace restart {
+        movf    %1,w
+        movf    %2,w
+} by {
+        ;     peep 12 - Removed redundant move
+        movf    %2,w
+}
+
+replace restart {
+       movf    %1,w
+       xorlw   %2
+       bz      %3
+       bra     %4
+%3:    %5
+} by {
+       ;       peep 101 - test for equality
+       movlw   %2
+       cpfseq  %1
+       bra     %4
+%3:    %5
+}