• SYSCON1 sfr not defined
    We are using c166 compiler version 4.05. When we add the line sfr SYSCON1 = 0xF1DC; to the include file which "should" already have it defined, we get error C155: 'SYSCON1': invalid base address...
  • SYSCON1 sfr not defined
    We are using c166 compiler version 4.05. When we add the line sfr SYSCON1 = 0xF1DC; to the include file which "should" already have it defined, we get error C155: 'SYSCON1': invalid base address...
  • SFR access without keyword "sfr"
    Hi, I'm trying to access SFR memory using the hexa address of the SFR and using only "C" instructions. Since SFR memory is accessed by direct addressing mode, like the first 128 bytes of internal...
  • SFR access without keyword "sfr"
    Hi, I'm trying to access SFR memory using the hexa address of the SFR and using only "C" instructions. Since SFR memory is accessed by direct addressing mode, like the first 128 bytes of internal...
  • sfr P1 = 0x90; /* SFR for P1 */
    i was download the code from internet the program is start with these lines -------------------------------- sfr P1 = 0x90; /* SFR for P1 */ sbit P1_0 = P1^0; /* SFR for P1.0 */ sbit P1_1...