• How to use a register variable defined in another file?
    Hello, I am using C166 with xc161cj. I defined a register variable in file1.a66 like, RegDataSec SECTION DATA at F700h ax: dsw 1 RegDataSec ENDS In file2.a66, I am trying to specify this variable...
  • define or another issue
    #define MHI 1; unsigned char xdata TTT _at_ 0xff00; if((TTT&0x01)==MHI) { } Hi,All I have a C51 program show on upper. I found it show error message syntax error after build. Then I tried to...
  • How to define a bit variable at a specific bit location?
    Hi, I'm trying to define a bit variable at a specific bit location. I tried the following without succes: BSEG AT 02FH.7 MYBIT: DBIT 1 The linker complains with *** ERROR L107: ADDRESS SPACE...
  • Defining a variable in the bit-band area
    I wonder to know is there anyone who define a variable in bit-band area in c programming language for cortex-M3. I have followed the compiler attribute based on the below link www.keil.com/...
  • Defining a Variable
    how can i define a byte or bit variable in ASM. as we use in C e.g char a = 0; bit TimeStop = 0; unsigned char sec=55;