• Call C function (that calls another C function) from assembly code
    Hi all, I want to call a C function (for example: func1() ) from my old assembly code. The problem is that if func1() calls another C function( func2() ), what will happen? How does the compiler pass...
  • Call C function (that calls another C function) from assembly code
    Hi all, I want to call a C function (for example: func1() ) from my old assembly code. The problem is that if func1() calls another C function( func2() ), what will happen? How does the compiler pass...
  • declaration after function call
    I just started using kile c51 compiler with µVision. My problem is only a stylistic issue. While initializing my controler: <dir> unsigned char dummy1 = 0xFF; /* call openADC0 */ openADC0(...
  • declaration after function call
    I just started using kile c51 compiler with µVision. My problem is only a stylistic issue. While initializing my controler: <dir> unsigned char dummy1 = 0xFF; /* call openADC0 */ openADC0(...
  • How to save register values before __main function
    Hi, I'm working on a cortex M3 based MCU with Keil. After reset a device related information is stored in R4. This value is cleared after __main and before the main function. Is there a way I can store...