Assembler Optimizer

صفحة 57/57
50 | 51 | 52 | 53 | 54 | 55 | 56 |

بواسطة Metalion

Paragon (1512)

صورة Metalion

31-05-2022, 08:49

Hello santiontanon,

I don't know if your optimizer uses this (time and size) optimization:

ld a,r  ;  5
neg     ; 10

transformed into:

xor a   ; 5
sub a,r ; 5

Just a suggestion, if it's not already taken into account.

بواسطة theNestruo

Champion (348)

صورة theNestruo

31-05-2022, 12:05

Metalion wrote:

Hello santiontanon,

I don't know if your optimizer uses this (time and size) optimization:

ld a,r  ;  5
neg     ; 10

transformed into:

xor a   ; 5
sub a,r ; 5

Just a suggestion, if it's not already taken into account.

Yup, it is there already: https://github.com/santiontanon/mdlz80optimizer/blob/master/...

صفحة 57/57
50 | 51 | 52 | 53 | 54 | 55 | 56 |