At 03:45 PM 6/7/2005, Richard Reeves wrote: > > > Speed contest: Fast code desired, space is no object. >Look-up table: > >fred: > ldi zl, low(reverse*2) > ldi zh, high(reverse*2) > add zl, temp > lpm temp,z > ret We have to add another instruction, unless as you specified, the table is positioned on a boundary. That wasn't completely clear, but it does get there.
Message
Re: [AVR-Chat] Challenge
2005-06-07 by Dave VanHorn