CC65 volatile (RIA memory port) handling bug #119
-
Hi there, I have the following passage in one of my demos (RW0 is an alias for RIA.rw0, RIA.step0 is 1, RIA.addr0 is sensible):
The generated assembly code is
which is wrong, as RW0 is not read anew for the second assignment. The variables Optimization is on by default in the RP6502 kit; when I disable it with a I'm going to look into the LLVM-MOS template but would prefer to stick with cc65 if possible. The cc65 documentation indicates that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can try disabling specific optimizer steps using --disable-opt. Other than that, if you want to stick with cc65 then I think you need to submit this issue there. |
Beta Was this translation helpful? Give feedback.
You can try disabling specific optimizer steps using --disable-opt. Other than that, if you want to stick with cc65 then I think you need to submit this issue there.