avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Re: What Happened to the sbi() and cbi() Macros????


From: Russell Shaw
Subject: Re: [avr-gcc-list] Re: What Happened to the sbi() and cbi() Macros????
Date: Wed, 02 Feb 2005 14:40:15 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1

Brian Dean wrote:
On Mon, Jan 31, 2005 at 02:36:16PM -0700, E. Weddington wrote:


Geez, you don't have to be a "guru" to understand this stuff. There
are a class of operators in the C language that deal with bit
manipulation.  They are a standard part of the language.


Seriously!

BTW, I think we are missing some additional "helper" macros.  What
about this:

  #define ASSIGN(var,val) var = val

Geez, we could rewrite the whole language like this :-)

  #define WHILE(cond,body) while (cond) { body }

Pretty cool, huh?

Careful, ya heading down the road to M4 ;)

...

reply via email to

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