• Two different functions but with the same name in separate libraries
    I have two libraries, named a.lib and b.lib. Both libraries have a function char test(void), but return different characters. a.c (a.lib) char test(void); char test(void) { return 'a'; } b.c (b...
  • The same program but different behaviour
    I have the trouble with "Keil uVision2 V2.37". Namely, the program which is working properly on the AT89C55WD bahaves very strange on the AT89C4051 platform. The program does not use any special features...
  • same variable for two different
    Hi All, I have a IIC routine file i2c.asm,which has routines to read and write into a IIC device. Now I am using the i2c.asm for two devices RTC and serial memory which are connected on different...
  • why the same function can not be called at different place and different time?
    main.c uchar xdata g_uhour,g_uminute,g_usecond; void TimeDisp(uchar h,uchar m,uchar s) { ... } void main(void) { ... while(1) { if (page==0) { ... TimeDisp(g_uhour,g_uminute,g_usecond);//a }...
  • about code size of functions
    How can we check code size of an individual functions? One method is to disable all other functions and compile only one function. Is there any other method?