>-----Original Message----- >From: Alan B. Pearce [mailto:A.B.Pearce@RL.AC.UK] >Sent: 16 April 2004 09:21 >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC/AVR] PIC vs AVR (ATMEL) > > >>Agree fully. The GNU toolchain is supererb. Also, you know the >>toolchain from other work (if you used it, that is work on >Linux). But >>the price for Atmel chips are a bit high so I often ends up >with a PIC >>micro in my designs anyway. Atmel has been a bit nicer with samples >>latly but not as good as Microchip. But in most other aspects >they are >>the same. Its easy to work with both. I tend to favor an AVR when I >>code in C and a PIC when I code in assembler. >> >>>If you really want to know the power of AVR, it's the >availability of >>>free C compilers, and the stack. Instead of having a hardware based >>>stack, with a preset depth, you're limited only by your memory >>>availability. These chips are extremely nice to program in. > ASM, or >>>C. > >Is the stack issue still an issue with the 18F series? The >impression I have is that it is possible to have a larger >stack, but then I haven't studied them that much yet to >actually try it. Then with the various compilers available for >the 18 series the architecture differences between the two >makes would more or less vanish. The 18F still has a hardware stack, although it has a much more realistic depth of 32 rather than the 8 of the 16F parts. The big difference is that the stack can be manipulated through push and pop instructions, which gives the ability to implement a software stack. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= Any questions about Bookham's E-Mail service should be directed to postmaster@bookham.com. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads