I have been dabbling a little with some AVR and there are "gotchas" there as well. It is just like the PIC that the lower and higher end chips have different workarounds for some things. One example that took a bit of my time was finding out that you can not load a litteral value (LDI) into the first half of the registers! You have use one from the higher half and copy it over. This is different than PIC where if you are in the right bank, then any accessable register can use any of the instructions. To make this worse it is hard to find or poorly documented (at least for a newbie) and the assembler errors were useless. I think that both chips have some unique feautes and some unique problems that require workarounds. I do like not having to use a W register for everything. The larger instruction set is nice, but is missing some of the complementory instructions like the PIC has. - Ben On Wed, 24 Nov 2004 10:53:31 -0500, Dave VanHorn wrote: > At 03:11 AM 11/24/2004, Ake Hedman wrote: > > > > >IMHO the learning curve to move between PIC and AVR is just a tiny little > >hill. At least if you code in some high level language like C. Its a > >litter higher (the hill...) if you code in asm but no bigger problem. The > >winavr development suite is free and very good. and all tools are also > >available on Linux. > > > >I work on both all the time and select from both families before starting > >a new project. A younger guy then me with a brain further away from death > >would probably equally well handle MSP and Freescale at the same time. > >This is however to much to me.... > > IMHO, it's more of a dip than a hill, in that the PIC has more special > things you have to remember. Some have pinged the AVR on having a larger > instruction set, but I don't see that as a disadvantage. > > > > _______________________________________________ > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist