* src/pic/ralloc.c (debugLogRegType): Removed some old types to get it to compile.
[fw/sdcc] / src / z80 / peeph.def
index 8e5464978cdd4ed141ead177d9ce4d674b7052b6..a743e5576ecd8a6bc90134d40554583f673c272b 100644 (file)
@@ -102,4 +102,15 @@ replace restart {
 } by {
         xor     a,a
 }
-        
\ No newline at end of file
+replace restart {
+        ld      e,#0x00
+        ld      d,#0x00
+} by {
+        ld      de,#0x0000
+}
+replace restart {
+       ld      %1,a
+       ld      a,%1
+} by {
+        ld     %1,a
+}