This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Pointers usegae in C90

I have a following statement in C which I use in C51 on intel 8052 micros, without any errors. But while using ARM M0- M3 processors i get an warning message for the same..
****
int *x; x = 0xFC82; *x = 0xAB;
warning: incompatible integer to pointer conversion assigning to "int *" from " int".
What is the reason ? and what is the correct statement(s) ?
Appreciate any explanation..
Thanks.
Bhal