Assembler Optimizer

Page 57/57
50 | 51 | 52 | 53 | 54 | 55 | 56 |

Par Metalion

Paragon (1529)

Portrait de 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.

Par theNestruo

Champion (351)

Portrait de 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/...

Page 57/57
50 | 51 | 52 | 53 | 54 | 55 | 56 |