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