Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch


Discussion Groups

Discussion Groups | Code-Composer | Re: Digest Number 268

Technical discussions about Code Composer Studio.

  

Post a new Thread

Re: Digest Number 268 - Andrew Nesterov - Jun 5 13:46:00 2004




It seem as if the erroneous function call differs from the
function declaration. There are three places to check to
be coherent: the function declaration (in an include file),
the function definition (check the paramemters of the
implementation) and the function call.

The stack size wouldn't affect on a call with a resonable
number of arguments, since they are passed in the registers.

Regards,

Andrew > Date: Thu, 3 Jun 2004 20:45:45 -0700 (PDT)
> From: Zulfiqar Khan <>
> Subject: Max Number Of Arguments passed to function is t maximum 4?
>
> Hello
> Can any one help me in solving the following problem :
>
> If numbe of aguments passed to a funcrion exceeds from
> 4 the function gives irrtaing behaviour. I mean if fo
> example i passed the argumnt 315 to the function the
> function converts it to 0 & then to 235, i.e. no
> contol on the value.
>
> I have increased the stack size but it does not solve
> my problem
>
> Looking for the favourarable reply
>
> Zulfiqar




(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )