Peter wrote: > On Tue, 4 Apr 2006, Scott Dattalo wrote: > > >>Vertical adders take a minimum of 6 instructions per bit. However, I >>haven't found a need yet for vertical adders. > > > This looks like a good time to ask: do you have code to rotate the 8x8 > matrix of vertical counter bits into a 8x8 matrix of horizontal counters > ? (not necessarily in order ot adjacent) ? This is called a corner-bender. I don't have the code to do this, but the fastest PIC solution is 128 cycles (2-cycles/bit). But like the vertical adders, I've never needed to do this in firmware. Scott -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist