• 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...
  • 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...
  • 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...
  • 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 parameters to printf()
    I need to be able to pass parameters to printf from another function. What I have so far works for some data types, but not character buffers, aka strings. Here is what I have that does not work. The...