• calling function from different file
    i have a problem regarding using timer0 interrupt service routine and calling function. my program will decrement the i and j (static unsigned int) everytime timer0 overflow. my program working as...
  • 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 }...
  • Call functions
    Hi, I have some assembly routines located in ROM memory, for example asmfunc that is located at address 0xF700 - is absolute address of flash memory. The program memory is organized: ROM code...
  • call c-function in startup-file
    Hi, is it possible to call a c-function during the initalization of the startup-file? Could you give me one simple example? ; Reset Handler EXPORT Reset_Handler Reset_Handler ; open lowlevelinit...
  • Random functions getting called
    Hi, I am running UART solution on 8051. There is only UART interrupt handler and no other interrupts. All code runs in polling mode, having 4 TASK and using minimal OS (RTX) There are two specific...