by throw2030401 · 1y ago · 0 comments
Their example output
jsr fn
eor #5
ldx #3
sax S
sec
sbc S
rts
Is better but not drastically so than the output of another 6502 compiler on godbolt: _kekw_sloc0_1_0:
.ds 1
_kekw:
jsr _fn
eor #0x05
tax
and #0x03
sta *_kekw_sloc0_1_0
txa
sec
sbc *_kekw_sloc0_1_0
rts