>-----Original Message----- >From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] >On Behalf Of Byron A Jeff >Sent: 12 November 2004 13:42 >To: Microcontroller discussion list - Public. >Subject: Re: [PIC:] Getting started with PIC's > > >1. Most compilers generate code that's good enough from a execution >perspective. Take a look back at the optimizations that Sergio >has done on XCSB for example. > I agree, XCSB does seem very good. However there are things you either cannot do in a HLL or that are very clumsy, typicaly optimised bit twiddling operations a la Scott Dattalo. >2. If you overflow code space, simply get a bigger chip. > Not always possible! Especialy with the small, low pin count devices that are so popular. >3. Compilers are never broken! ;-) But even if they are then >debugging that is usually outside of the scope of a novice anyway. > Not if they knew ASM and could read the list files! In fact that's how I learnt assembly on the PIC16 originaly, looking through the compiler listings and essentialy learning from the very experienced people that wrote the compiler. 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. ======================================================================= _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist