• Function argument getting modified by function
    I am passing an array to a function to sort it and return the median value. I do not want the global array to be sorted. I only want the array to be sorted within the function. I thought that when a variable...
  • Function argument getting modified by function
    I am passing an array to a function to sort it and return the median value. I do not want the global array to be sorted. I only want the array to be sorted within the function. I thought that when a variable...
  • ASM strong function gets replaced by weak function
    I have a project where I need to define strong function in ASM. If I do so it gets ignored and default weak function is used instead. If I define strong function in C it works fine, that is strong one...
  • Call RTX-51 tiny function in a function?
    Can I call RTX-51 tiny function in my function that was called in my task? Example: void function1 (void) { os_wait (...) ....... } void task0 (void) _task_ 0 { ..... function1(); ...
  • 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...