Yes but can you do it without the push and pop? The original suggestion was to do it without the use of any other registers or places to store it. I figured it had to do with some Boolean operations but didn't sit long enough to figure out which ones. Zack (W9SZ) On Thu, 9 Jun 2005 stevech@san.rr.com wrote: > > and to swap two registers: and ye ole: > > push r1 > > mov r1,r2 ; r1 = r2 > > pop r2 > > more cycles than eor's >
Message
Re: [AVR-Chat] Re: Challenge
2005-06-09 by Zack Widup