The following won't compile:
and rax, $7FFFFFFFFFFFFFFF
I've tried making the value a constant, even cast as a qword, but the compiler throws "dword value exceeds bounds."
Of course, this is a qword, not a dword. How do I get the compiler to realize this?
As a note, the 64-bit code is otherwise compiling and running correctly.
I have the latest Lazarus release.