Prog8 language and compiler topic

All aspects of programming on the Commander X16.
User avatar
desertfish
Posts: 1136
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: Prog8 language and compiler topic

Post by desertfish »

A problem was found in 11.3.1 that now fails to compile this:

word x
x &= $fff8

you can rewrite it as:
x = x & $fff8 as word

Or get the latest development compiler build from github, because the bug has been fixed there.
The problem only occurs when you're doing bitwise operations on a signed and unsigned value.
Post Reply