• printf() in Keil C166
    Hello, I want to transmit data over serial port with printf() and meet a strange thing. Code 1: unsigned char buf1[] = {0xAA, 0x52, 0xCC, 0x33, 0xC3, 0x3C, '\0'}; printf("%s", buf1); ...
  • Big ERROR in C166 4v20
    Hi, there is huge misunderstood in C166, just try this: #pragma code // and char * cptr; // and this: cptr[-1]=*cptr++; and look at the assmbled machine code. and ... have a lot of...
  • DPP keil c166 not contiguos addresses
    I'd like to set two DPP for NCONST but not in contiguos addresses Something like the following NOT WORKING .lin CLASSES (NCODE (C10000H-C1FFFFH), NCONST(C02000H-C03FFFH,C10000H-C13FFFH), <-----...
  • C166 V6.00 Upgrade and Licence Error
    Hello, I installed C166 V6.00a over my old V.504, (logged in as Administrator) , got a new LIC from Keil, tried to compile a larger project and everything worked fine. I usually work on my XP Home...
  • C166:XC2785
    I write simple code for toggle PORT2.0 of xc2785 in keil simulator. when i start the simulator,the IO port not toggled. this is my IO port setting. Some thing is wrong in the (Peripheral/IO-ports...