• how to use a bit variable defined in another module?
    Gentlemen: I wanna use a bit variable in file:assem.asm.And the bit variable is defined in another file:main.c;Just as follows: in main.c unsigned char bdata flags; sbit red_flag = flags^1; in assem...
  • 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...
  • Define variables in assembly file
    How do define short, byte and integer variables in the startup.s file? what are names of this directives?
  • Can a task call function defined in another task?
    Hello, we are using Keil's RTX Real-Time Operating System. Can a task call function defined in another task ? Thank you!
  • 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;