Today's question is: is there a way to optimize in size the following small code? (cycles don't matter).
Goal of the code: invert bit 7 of two distinct bytes (to invert their video display on screen)
Code: Select all
A9 80 LDA #$80
4D BB BF EOR $BFBB
8D BB BF STA $BFBB
A9 80 LDA #$80
4D DC BF EOR $BFDC
8D DC BF STA $BFDC
Note: JSR forbidden, except to use ROM1.1 calls (I need the routine to be easily moved anywhere in RAM)
Thanks!