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: Ned Konz
Subject: Re: [avr-gcc-list] Re: What Happened to the sbi() and cbi() Macros????
Date: Mon, 31 Jan 2005 17:03:56 -0800
User-agent: KMail/1.7.2

On Monday 31 January 2005 4:10 pm, E. Weddington wrote:
> ># /bin/sed -f rewriteCbiAndSbi.sed -i.bak file [...]
> >s/\([  ]*\)cbi[  ]*([  ]*\([^,)]\+\)[  ]*,[  ]*\([^,)]\+\)[  ]*)/\1\2 \&=
> > ~BIT(\3)/g s/\([  ]*\)sbi[  ]*([  ]*\([^,)]\+\)[  ]*,[  ]*\([^,)]\+\)[
> >  ]*)/\1\2 |= BIT(\3)/g
> >
> >
> >  
>
> s/BIT/_BV/g

Yes, but there was some discussion about renaming _BV()...

-- 
Ned Konz
http://bike-nomad.com



reply via email to

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