Hi, Imho, it is better to add two pair rules which converts (hl+/-) to ldi/ldd. And others use ldd/ldi only.
ср, 27 мая 2020 г., 10:24 Sebastian Riedel <[email protected]>: > Hi, another question regarding the peep hole optimizer. > > How does it handle aliases? > > Need there be doubled rules for ldd a,(hl)/ld a,(hl-) and in a,(n)/ldh > a, (n) > Or is it able to recognize that those are the same commands? > > -- > Freundliche Grüße / Yours sincerely > Sebastian Riedel > > > _______________________________________________ > Sdcc-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sdcc-user >
_______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
