• locating arguments
    Hello, I would like to know how the keil compiler locate the arguments of a function. 1) it pass it via the stack? 2) it declares a places in the memory space, and in this case how he choose...
  • How to pass 3D array as an argument to function in keil microvision4.02?
    Hi Fellas, Please help me out in the problem that, I am passing a 3D array as function argument. But instead of referencing to same location of 3D array keil microvision4.02 makes another copy to...
  • sprintf argument restriction
    Hi, A question regarding C51 v6.23a... The C51 manual suggests that, using the 'large' memory model, sprintf is restricted to a 40 byte parameter list. Having used this knowledge to resolve a...
  • Pointers as arguments in function calls
    I have an interrupt service routine that uses Register Bank 2. From within the ISR I call a function, passing a pointer as the argument-- e.g. XXX is defined in a typedef struct declaration The...
  • Could not pass argument in register
    Hello to everyone I have problem with passing argument in register I have 3 functions, The first and the second is ok and they use only R7, A ,B in function body and argument is passed in register...