xa65 icon indicating copy to clipboard operation
xa65 copied to clipboard

Auto-insert .xs/xl/as/al on REP/SEP #$10/20/30

Open fachat opened this issue 7 months ago • 4 comments

In 65816 mode, REP and SEP modify the bits that determine the width of the A and X registers, which also affects immediate address modes. The xa currently has to be told about this with pseudo opcodes .as/.al/.xs/.xl.

xa could optionally auto-insert those when it detects corresponding REP and SEP opcodes.

fachat avatar Jul 20 '24 19:07 fachat