I think it is a bug because:

struct {
   unsigned short CCC:12;
   unsigned short READ_BL_LEN:4;
} CSD;
----> works as expected (2 bytes long)

struct {
   unsigned short READ_BL_LEN:4;
   unsigned short CCC:12;
} CSD;
----> works wrong (3 bytes long)

I think that this should work the same way shouldn't it?
Unfortunately I need the second version... :-(

Hynek Sladky


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to