• 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...
  • 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 Passing in Registers
    Hi I am unclear as to how I can pass 2 generic pointer arguments into a function. As stated in the user guide, the generic ptr will be stored in R1-R3. But however, what happens when there is more...
  • Keil: A parameter passing suggestion !!!
    Product Development, Many people (myself anyway) write their own application specific libraries in assembly language. When you do this, you can produce very efficient code because of non-specific register...