Rodrigo Guerra wrote:
> <snip>
> void main(void)
> {
>      unsigned char c = 0x34;
>      unsigned char *p;
>
>      p = &c;
>      p = 0x12;
>
> (...)
> <snip>
It should be:
*p = 0x12;

Borut


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to