• 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 function from C
    I am working on a project that has multiple C files and an assembly file. A function in one of the C files is calling an assembly subroutine. The project compiles fine but linking produces the following...
  • How to call a C function from Assembly code..?
    Hi all.. I have an ARM assembly code written for Generic ARM7 (little endian). How can i invoke a C function from this Assembly file..? Thanks in advance for your suggestions. Best Regards, Sameer...
  • Cortex-M3 calling c functions from assembly
    Hi, We are trying to call a 'C' function from assembly code and are not terribly successful (i.e won't assemble). Does anyone know how this is done or know of any links to example(s) of how this is...
  • 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...