[fpc-devel] Unexpected behaviour of bit operators

Marco Borsari borsa77 at libero.it
Fri May 17 14:43:54 CEST 2019


On Fri, 17 May 2019 14:36:52 +0200
Marco Borsari via fpc-devel <fpc-devel at lists.freepascal.org> wrote:

> Thank you, your answer make it clear the nature of the problem, i.e.
> operation size extension.
> Anyway, if I understand correct, the masking as reported in the code
> does not operate over the 16 bit limit, so even h2 should be erroneus.

Sorry, it operates as $0000FFF0.
Bye, Marco
-- 
Simplex sigillum veri



More information about the fpc-devel mailing list