On Fri, May 02, 2014 at 09:10:10AM -0400, Larry Bradley wrote: > I never really thought of the fact that NAMING the bit fields would > make the code more readable. I'm not a veteran "C" programmer, so > I'm not used to such constructs. Good point. In some contexts, names for bits can make it harder to read the code, because to read the code you have to go and find the meaning in some header file somewhere. In Open Firmware, for instance, the drivers don't use symbolic names for register bits, or even registers, and so once you know (from datasheet) which bits are which, understanding the drivers are much easier. It's all on one page. I just love Forth. --=20 James Cameron http://quozl.linux.org.au/ --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .