From: Johan K. <joh...@id...> - 2001-06-06 19:33:47
|
> > *s=(i%10)+'0'; > > Using % from within an interrupt routine is asking for trouble. See > SDCCUdoc-14.html. Isn't it so that cdef functions should per sé be reentrant? If they need space for auto's it doesn't really matter if they use DSEG or SSEG (apart from the efficiency). Or am I mistaken? They are quite efficient already, so shouldn't we skip the --int-long-reent and --float-reent and instead make them even more efficient? Johan P.S. Right now we can't have a prototype like e.g. "long _modslong (long, long);" and I know why. But I changed too much already lately, so I will delay this until all complaints are honoured. :) |