David VanHorn Wrote
>> Right terms, think of bit fields.
>
>Cool, I haven't read about bit fields yet.
Just don't use them to define I/O. That way lies perdition ;)
Robert
--------------------------------------------------------------------
mail2web.com - Microsoft® Exchange solutions from a leading provider -
http://link.mail2web.com/Business/Exchange
On Mon, Jan 12, 2009 at 11:46 AM, subscriptions@aeolusdevelopment.com
<subscriptions@aeolusdevelopment.com> wrote:
> David VanHorn Wrote
>>> Right terms, think of bit fields.
>>
>>Cool, I haven't read about bit fields yet.
>
> Just don't use them to define I/O. That way lies perdition ;)
hmm.. Do you have an example?
David VanHorn wrote:
> On Mon, Jan 12, 2009 at 11:46 AM, subscriptions@aeolusdevelopment.com
> <subscriptions@aeolusdevelopment.com> wrote:
>> David VanHorn Wrote
>>>> Right terms, think of bit fields.
>>> Cool, I haven't read about bit fields yet.
>> Just don't use them to define I/O. That way lies perdition ;)
>
> hmm.. Do you have an example?
Indeed - I use them frequently to work with PORT and PIN IO registers
with no apparent problem. The compiler gens tight code for that use as
well.
DLC
--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------