• call an ASM function from a C function
    I wrote a C extension file program where my function is declared with C langage with parameters and writen in ASM langage: int MyFunc(int param1, int param2) { #asm ... ... #endasm } From...
  • Stability of ASM function calls
    Say I have a function: unsigned char* func1(unsigned char param1, signed int param2); That would be an ASM function being called from C. The actual parameters and return type are rather irrelevant...
  • Calling C from ASM with Realview
    I made a interrupt handler with priorities. I can call C functions from ASM but have problems when calling C functions with the __irq prefix. It seems that I cannot use the prefix in this case because...
  • Calling asm routines from C source
    Hi, I've got a project containing a c source file and an a51 assembler file. I need to be able to call some of the asm routines from the C file. I'm after a tutorial describing what you need to do to...
  • which rigisters must pushed into stack when i call asm from c or call c funciton from asm?
    hi,i am a newbie to c51,now i am am confused at this question that which rigisters must i push into stack when i call asm from c or call c function from asm,except the registers that i apparent used.be...