• 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...
  • Problems with Passing Pointers as Parameters
    Okay, I'm trying to pass a pointer to a char buffer to a function. It works fine in the Keil simulator/debugger, but not on the target hardware. // Variable Declaration #define MAX_RX_SIZE 100 static...
  • problem in parameter passing
    hi I am facing a problem in parameters retrieval. I call a function of assembly from C.I pass a struct pointer in the parameter.I am using the Small model. Parameter are stored at the fixed memory location...
  • 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...
  • Passing > 4 Parameters to Function
    Greetings: Here is an odd one that I hope someone can point out the obvious thing I am doing wrong. In the accompanying extremely simplified source code, compiled with uVision3 V3.12a, I am just calling...