• 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...
  • Can't pass pointer parameters correctly.Why?
    Hi, I wrote a test function as; // Task definitions OS_TID T_Test; U64 Test_stack[13312/8]; __task void init (void); __task void Test (void) ; // Function definition uint16_t TestFunc( uint8_t...
  • 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...
  • 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...
  • 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...