Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Discussion Groups

Discussion Groups | TMS320C54x | Nesting of functions

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

Nesting of functions - prathyush kumar - Sep 7 14:48:38 2007



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. 


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

Re: Nesting of functions - Brian Lane - Sep 7 16:06:50 2007

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



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