#6502 question. Is sta addr+1 stx addr +2 ldx #0 loop: lda IDEPORT addr: sta 0,x...

@etchedpixels@mastodon.social

#6502 question.

Is
sta addr+1
stx addr +2
ldx #0
loop: lda IDEPORT
addr: sta 0,x ; self modified
inx
bne loop

the fastest way to pull data from a single address (in this case an IDE controller) or is there a magic trick I don't know ?
(unrolling it aside)