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

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

[avr-gcc-list] question about SBI and CBI from avr-gcc


From: James Washer
Subject: [avr-gcc-list] question about SBI and CBI from avr-gcc
Date: Sun, 28 Nov 2004 20:57:05 -0800

I've noticed the the avr-libc docs report cbi/sbi as being decremented, and 
suggest using direct access. However I see the the compiler generates a 
read/modify/write three instruction sequence.  Is there an "accpted" way to 
generate a CBI and/or SBI instruction from C code without resorting to inline 
assembly? Any reason libc deprecated these?

thanks

 - jim


reply via email to

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