• Cortex M3 - Right Shift Bug
    Hi, I'm using uVision 3.33, supplied as part of the Luminary Micro design contest. I've noticed the following problem when trying to right-shift a 16-bit unsigned value. The code produced is...
  • Cortex M3 - Right Shift Bug
    Hi, I'm using uVision 3.33, supplied as part of the Luminary Micro design contest. I've noticed the following problem when trying to right-shift a 16-bit unsigned value. The code produced is...
  • Problem with Shift-Operator
    Hi, I have a Problem with the Shift-Operator >> within my C-Code. I'm using PK166 V4.2 The following code should set the Variable n to 0. void main() { unsigned char n; unsigned char p; /...
  • Problem with Shift-Operator
    Hi, I have a Problem with the Shift-Operator >> within my C-Code. I'm using PK166 V4.2 The following code should set the Variable n to 0. void main() { unsigned char n; unsigned char p; /...
  • shift operator
    When compiling with Realview : unsigned long x; x = 1<<31; I get the message: Main.c(121): warning: #61-D: integer operation result is out of range Main.c(121): warning: #68-D: integer...