From: Bernhard H. <ber...@ot...> - 2001-04-20 06:12:17
|
I can't reproduce your problem. Who has a stack overflow? sdcc or your simulator/emulator? Which sdcc-version? Which controller (8031/8032)? Bernhard >This code does not work. It causes internal stack overflow in large model. > >xdata float SIGMA; >xdata int N=10; >xdata float x1,x2,x3; >xdata int i; > >float f0(float t,float x,float y,float z) >{ return SIGMA*y-SIGMA*x; >} > >int main(void) >{ > for(i=0;i<N;i++) > { f0(1.0,x1,x2,x3); > } > return 0; >} |