} by {
ERROR - peephole - caught (hl),(hl)
}
-replace {
+replace restart {
ld %1,%1
} by {
; Removed redundent load
cp a,#%4
jp p,%5
}
+replace {
+ ld e,l
+ ld d,h
+ ld l,e
+ ld h,d
+} by {
+ ld e,l
+ ld d,h
+}
+replace {
+ ld %1,%2
+ ld %3,%4
+ ld %2,%1
+ ld %4,%3
+} by {
+ ld %1,%2
+ ld %3,%4
+}