Hi,
In any C54x processor, how many levels of functions can be
called???
like fun1(){
fun2();
}
fun2(){
fun3();
}
etc...
Will there be any restriction like that or it just depends on
stack.
Regards,
---------------------------------
Pinpoint customers who are looking for what you sell.
Nesting of functions
Started by ●September 7, 2007
Reply by ●September 7, 20072007-09-07
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
prathyush kumar wrote:
> Hi,
>
> In any C54x processor, how many levels of functions can be
> called???
>
> like fun1(){
> fun2();
> }
>
> fun2(){
> fun3();
> }
> etc...
>
> Will there be any restriction like that or it just depends on
> stack.
It is only limited by the amount of stack available.
Brian
- --
- ---[Office 72.0F]--[Outside 72.8F]--[Server 97.8F]--[Coaster 68.9F]---
- ---[ KLAHOWYA WSF (366773110) @ 47 31.0040 -122 28.7632 ]---
Software, Linux, Microcontrollers http://www.brianlane.com
AIS Parser SDK http://www.aisparser.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Remember Lexington Green!
iD8DBQFG4aWzIftj/pcSws0RAnswAJ9U0OgNvSpMDRGNbnSRV85/kxg2egCfYBIh
C9WZ8Mnxqm6ldcKAcz//7uY=8oJ/
-----END PGP SIGNATURE-----
Hash: SHA1
prathyush kumar wrote:
> Hi,
>
> In any C54x processor, how many levels of functions can be
> called???
>
> like fun1(){
> fun2();
> }
>
> fun2(){
> fun3();
> }
> etc...
>
> Will there be any restriction like that or it just depends on
> stack.
It is only limited by the amount of stack available.
Brian
- --
- ---[Office 72.0F]--[Outside 72.8F]--[Server 97.8F]--[Coaster 68.9F]---
- ---[ KLAHOWYA WSF (366773110) @ 47 31.0040 -122 28.7632 ]---
Software, Linux, Microcontrollers http://www.brianlane.com
AIS Parser SDK http://www.aisparser.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Remember Lexington Green!
iD8DBQFG4aWzIftj/pcSws0RAnswAJ9U0OgNvSpMDRGNbnSRV85/kxg2egCfYBIh
C9WZ8Mnxqm6ldcKAcz//7uY=8oJ/
-----END PGP SIGNATURE-----