On Tue, 23 Jul 2002, Andy Shaw wrote: > Hi, > Are there any CCS experts out there? I would basically like to jump directly > to the start of a CCS C function (rather then call it). Basically the > routine in question never returns (it does a direct jump to another part of > the program) and I would like to avoid using a stack location which would be > associated with a call. So essentially I would like to do the following > > void f1() > { > .... > } > > void f2() > { > ..... > #asm > goto f1 > #endasm > ..... > } Andy, Why do you want to do this? Are you running out of stack? FYI, In SDCC all functions are automatically inlined (if possible) to save the call/return overhead. Oh, and no, I'm not a CCS expert. Scott -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.