• registers used for passing parameters and returning
    I am writing an application in which I need to mix C and assembly. I need to write the most optimized code for which I need the answer to the following questions 1) When passing parameters, is there...
  • registers used for passing parameters and returning
    I am writing an application in which I need to mix C and assembly. I need to write the most optimized code for which I need the answer to the following questions 1) When passing parameters, is there...
  • Parameter pass bug ??
    The following code works in Carm Compiler and it doesn't work in Realview Compiler !! What's happening ? char func(char x1, char x2) { return(x1+x2); } char teste(char c1, char c2) { func(4,5...
  • Parameter pass bug ??
    The following code works in Carm Compiler and it doesn't work in Realview Compiler !! What's happening ? char func(char x1, char x2) { return(x1+x2); } char teste(char c1, char c2) { func(4,5...
  • Problem with passing parameters
    Hey guys, I've got a huge problem with passing arguments to an invoked function. It just doesn't work, at least sometimes... I can't figure out why this could possibly happen, but it does. My application...