• A bug in C51?
    Hi, I encountered the following phenomena during my work: I dont know if its supposed to be this way but I'm sure it made me a lot of trouble. I had a working program and I built a bootloader for...
  • 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 bug
    void abc(void) { } ABC() { } main() { abc(); ABC(); }
  • 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...
  • 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...