• LPC936 timer issues with xdata vars vs. idata vars
    I've had a working project/system for over 10 years now, and we developed an offshoot product using the same LPC936 chip. My delays on the working system uses Timer 0 and I have the interrupt set on...
  • var arg, __VA_ARGS__, C99
    hi, i was wondering if anything has changed since nov.2006 in the field of variable arguments in macros. does anybody know something about a support of __VA_ARGS__ in the current c-compiler?...
  • Init Vars and Clear Memory
    I have these set to 1 in my startup file, CLR_MEMORY INIT_VARS. I would like to know if this clears all internal and external ram ? and the vars ? I ask because when i start to debug, upto main, via...
  • C166INC env var for EC166
    Hi, I'm trying to compile the C:\Keil\C166\Examples\EC++\complex\complex.cpp file from my command line. C:\>SET C166INC=C:\KEIL\C166\INC C:\>c:\Keil\C166\bin\EC166.EXE "c:\keil\C166\Examples...
  • "var << 1" gets optimized away
    hi all, I have the following line in my code: PortVal << 1; When I compile using c51 v6.12, I get the following warning assocaiated with that line: "warning C275: expression with possibly...