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

I do not need to be protected against myself

#define U16   unsigned short
#define U8DX  unsigned char   xdata * data

UCDX  GCDX232ptr;    // receive rs 232 pointer
U16 GStemp;
.....
  GStemp = (U16) GCDX232ptr;
  GStemp &= 0xFF00 ;
  GCDX232ptr = GStemp ;

works, why does

  (U16) GCDX232ptr &= 0xFF00 ;

not work

There should be a way. I am short of memory and need get rid of GStemp

Erik

Parents Reply Children