[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fw: [avr-gcc-list] Pointer to byte in code.
From: |
Royce & Sharal Pereira |
Subject: |
Fw: [avr-gcc-list] Pointer to byte in code. |
Date: |
Fri, 16 Jul 2004 10:28:29 +0530 |
Hi,
----- Original Message -----
From: "E. Weddington" <address@hidden>
> > generate the lpm instruction automatically?
>
> No, because the GCC compiler knows nothing about multiple memory spaces, e.g.
> Harvard Architecture chips such as the AVR.
>
----------------------------------------
OK, thanks! But I have another observation. In the function:
void send_b(PGM_P src, char *dest)
{
char data;
while(data= pgm_read_byte(src++));
{
*dest= data;
dest++;
}
}
//======================
No code is generated for "dest++" . Why is this?
Thanks!
--Royce.