Recently I got struck by a nasty bug as I was using variables in direct page, but the code accidentally used something like
LDA <ABS>,Y
as there is no dp-y-indexed addressing mode in the 65816. So xa extended this to absolute addressing mode. Which of course fails when dp is not pointing to zero.
Recently I got struck by a nasty bug as I was using variables in direct page, but the code accidentally used something like
LDA <ABS>,Yas there is no dp-y-indexed addressing mode in the 65816. So xa extended this to absolute addressing mode. Which of course fails when dp is not pointing to zero.