Re: [Sdcc-user] Can someone educate the ignorant please?

2010-05-02 Thread Peter Van Epp
On Sun, May 02, 2010 at 10:22:12AM +0200, Maarten Brock wrote: > Peter, > > > Can someone suggest how to avoid the allocation in DSEG (which is > > overfull) in the following code snippet? > > > > ... > > void lcd_puts (char xdata *str) > > { > > uint8 xdata i; > > > > for (i=0; str[i]

Re: [Sdcc-user] Can someone educate the ignorant please?

2010-05-02 Thread Maarten Brock
Peter, > Can someone suggest how to avoid the allocation in DSEG (which is > overfull) in the following code snippet? > > ... > void lcd_puts (char xdata *str) > { > uint8 xdata i; > > for (i=0; str[i] != '\0'; i++) { > lcd_datas (str[i]); > } > } To put the pointer in xdata yo