• Calling ASM functions from C
    I'm using the uVision2 8051 eval version trying to see if it's worth leaving my normal asm enviroment. Natualy I have some asm functions that I would like to take with me, but I need to figure out how...
  • 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...
  • Pushing Register in ASM function
    Dear all, When I am writing some ASM function, I always need to PUSH the accumulator and all register I have used inside the function. I am wondering if this ASM function is to be called by other C...
  • 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 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...