Closed AndyHOvine closed 9 months ago
BTW, the above logic I had was inccorect, I actually should have done j := hi(p.y)>>3;
which does generate the correct ASM output, however, the lsr on an integer inside of the hi() function produces the unexpected output in the error report above.
fixed! was a bug with lo/hi that actually made it fail for expressions... funny how this one hadn't been caught
This bit of code:
j := hi(p.y>>3);
produces the following ASM output.
lda +1 is not correct.
Variables I am using above: