At 08:48 AM 10/23/01 -0400, myke predko wrote: >David Van Horn wrote: > > > > This may be what's holding the traffic. > > I work in assembler, and find the PIC's internals unbearable. > > In code where I am using a given pin for input and output, the bank > > swapping is awful. > > I cringe at each bank swap, thinking of the four AVR instructions that > > would have gone there, all to do a port operation that is much more > > complicated (the read-mod-write) than on the AVR. > >I guess it's a difference in how we think, but I found the AVR to be >needlessly complicated in how it implements the 32 GPRs to be totally >non-logical. I don't get what you mean here. I really dislike having to funnel everything through the W register. You get three pointer pairs, a register for the LPM instruction, and the rest are GP registers. There are a few instructions that only work on the upper half, but that's seldom an issue. -- Dave's Engineering Page: http://www.dvanhorn.org Got a need to read Bar codes? http://www.barcodechip.com Bi-directional read of UPC-A, UPC-E, EAN-8, EAN-13, JAN, and Bookland, with two or five digit supplemental codes, in an 8 pin chip, with NO external parts. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu