• Is this a C51 bug?
    struct tag { char a:7; char b:1; }; unsigned char foo(void) { struct tag test; test.b = 1; return test.b; } void main(void) { char dat; if(foo() == 1)// ***foo return 0x80 not 0x01 { dat...
  • Is this a C51 bug?
    struct tag { char a:7; char b:1; }; unsigned char foo(void) { struct tag test; test.b = 1; return test.b; } void main(void) { char dat; if(foo() == 1)// ***foo return 0x80 not 0x01 { dat...
  • C51: Is this a compiler bug ?
    ... or a misunderstanding on my part ? From string "\x0CTUV", the compiler generates 0x0C 0x55 0x56 0x57 0x00 From string "\x0CABC", the compiler generates 0xCA 0x42 0x43 0x00 ... rather than...
  • C51: Is this a compiler bug ?
    ... or a misunderstanding on my part ? From string "\x0CTUV", the compiler generates 0x0C 0x55 0x56 0x57 0x00 From string "\x0CABC", the compiler generates 0xCA 0x42 0x43 0x00 ... rather than...
  • Possible bug in uVision 2.31 (C51 7.01)
    Hi all, Could someone please check the following behaviour of uVision 2.31 (C51 7.01)? If in the Options for Target... dialog you switch from the "Target" tab to the "Device" tab and then back to...