• CARM compiler bug
    A few days ago I encountered with strange program behavior, and the reason I found was compiler bug. The problem can be revealed after compilation of the following code: double Variance(int Sum...
  • CARM & bitfields in a structure : is this a bug ?
    typedef struct { int query_zone:4; }statusrequest_t; statusrequest_t state; state.query_zone=8; if ( state.query_zone==8) printf("The result matches n=%i n\r",state.query_zone); else printf("This...
  • CARM 1.3 bug?
    I've port C source from C51 to CARM but CARM compiler seem has bug in comparison. #include <lpc210x.h> //DKARM 1.3h //---------- //AA MACRO ASSEMBLER V0.10a //CA ARM COMPILER V0.10a //LA ARM LINKER...
  • maybe bug: far argument to printf fails
    Hallo, I may have hit a bug in CX51 Ver 7.06. If a far variable is passed as an argument to printf function; it fails. I wrote this program: #include <Philips\reg51m.h> #include <stdio.h> ...
  • Maybe a bug of MDK 4.21 on simulator LPC1114 GPIO
    hi, i use software simulator of MDK 4.21 for LPC1114 GPIO. here is the Code: int main (void) { int i; LPC_GPIO[0]->DIR |= (1<<1); //prot0.1 as output LPC_GPIO[0]->DIR |= (1<<2); //port0...