[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] efficiency of assigning bits

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] efficiency of assigning bits
Date: Mon, 14 Mar 2005 16:22:39 +0100 (MET)

Douglas Dotson <address@hidden> wrote:

> My experience is that most anyone that has been
> programming in C for more than a few weeks can
> pretty much instantly look at a hex constant and
> see the bit pattern.

Still, the 0b thing has been a frequently requested item.

> Even though binary constants
> are supported in avr-gcc I don't use them for
> portability reasons.

I wouldn't use them personally (I merely wrote that patch once out of
curiosity to see how difficult it would be), I'd always prefer
symbolic names myself.

J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]