07-06-2014, 11:18 PM
boriel Wrote:Darkstar Wrote:Still more research:
The example above compiles fine and it even compiles fine with a = peek(b) bxor 255.
The example below does not compile under -O3.
dim a as ubyte
dim bPtr as uinteger
for bPtr = 32768 to 32768 + 25
a = peek(bPtr) bxor 255
poke bPtr, a
next bPtr
If you change bxor to 25 or any other number but 255 and 255 does translate to cpl in assembly then it does compile.
Now I do not have to share the source.
It is up to you now Boriel.
Can you please check the version 1.4.0-1877 and check if this is fixed, please (it should).
It works fine now thank you very much.
This line sadly still bombs on me:
const BasePtr as uinteger = 32768
save "Contents"code BasePtr, 25