• 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...
  • 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...