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

Large bit fields

Hi,

I'm using c51 on 8051.
Is It possible to do a struct with large bit fields like:

struct bit_st
{
   int x         :25;
   int y         :22;
   int reserved  :1;
}

(I know that int mean 16bit)

Tnx,
Ran