[Top][All Lists]

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

Re: [avr-gcc-list] SBI an CBI optimizations

From: Jeff Epler
Subject: Re: [avr-gcc-list] SBI an CBI optimizations
Date: Thu, 7 Jul 2005 10:43:33 -0500
User-agent: Mutt/1.4.1i

On Thu, Jul 07, 2005 at 11:25:31AM -0400, Trampas wrote:
> I gave that a shot:
[... with register GIMSK, it's 3 instructions]

> Note that it appears to work on other registers:
[... with DDRD, it's a cbi instruction]

sbi/cbi only work on the first 32 I/O registers.  See page 48 of the AVR
Instruction Set document (the version I am reading is 0856D–AVR–08/02).


Attachment: pgpQlkOh_lU0O.pgp
Description: PGP signature

reply via email to

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