Cx51 User's Guide
Technical Support
On-Line Manuals
The stddef.h include file defines the offsetof macro which you may use to determine the offset of members of a structure.
The stddef.h include file also defines the NULL manifest constant.