|
BIG oops... B'0001 0000' is bit three, not bit one. The paragraph below SHOULD read as follows: Get the idea? Basically, the AND strips out anything except where you have bits on in the mask. So, in this particular case, as long as bit three is on, the result will be B'0001 0000'. Similarly, anything with bit three off will end up as B'0000 0000': (Sorry about that.) Joe > From: Joe Pluta > > Get the idea? Basically, the AND strips out anything except where you > have bits on in the mask. So, in this particular case, as long as bit > one is on, the result will be B'0001 0000'. Similarly, anything with > bit one off will end up as B'0000 0000':
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.