keil bug? warning #61-D wrong evaluation

Dear all,

My compiler throw a waring "warning: #61-D: integer operation result is out of range" but I think is a bug of the compiler because it have no sense. This is the warning line:

GPIOB->CRL &= ~(0xF << (7 * 4))

0xF << 28 times is in the range of the CRL register... can anybody tell me the reason of this?

Thanks for all

More questions in this forum