• 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...
  • passing function pointers as parameters
    Hi, I have written a simple 8051-application using uVision2 V2.37. I have defined a function which expects a pointer to a function which is then saved in an array of function pointers: int registerFunction...
  • ARM: about passing parameters.
    The following code is from a project compiled and run very well under Realview Debuger platform.But when transplanted to Keil uVision3, it can be successfully compiled and booted, but overflowed in many...
  • 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...
  • 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...