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 <s...@basxto.de>:

> 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
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to