• Calling a C-function from assembler
    I wrote the following experimental program: //file c_function.h #ifndef c_function_h #define c_function_h int add_int(int a, int b); #endif //file c_function.c #include "c_function.h" int...
  • Calling Assembly Functions From C
    I'm using the ARM MDK 4.1 kit, and need to call assembly functions from C, but for the life of me I cannot find any documentation describing how to do this. Is it possible? I'm developing for a Cortex...
  • 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...
  • Calling Assembly Function From Another File
    Hi, I have two files in my project, that are as follows; /////////////////////////////////////////////////////////////////////////// ///////////////////////////////////// File 1 ////////////////...
  • calling C-function from within assembler?
    I want to call a C-function from an assembler-file. for example: void asc0_SendInt(void) interrupt S0TINT using rbank_s0 { ...my code } My Assemblerroutine looks like: $MOD167 $SEGMENTED...