I think that the MPLAB IDE is popular because it is free. Unfortunately, it does little to support structured programming. It seems to me that most in the PIC world come from tha hardware side of the business and simply are not aware of the benefits of structured programming. Also, much of the software written is pushing the hardware to the limits. Calls & Returns along with stack operations do corrupt timing sensitive code. John Ferrell http://DixieNC.US ----- Original Message ----- From: "Richard Mulvey" To: Sent: Monday, March 01, 2004 9:47 AM Subject: [PIC]: How come relocatable asm code seems so uncommon? > Hi All: > > I'm one of the relative newbies to the PIC ( and microcontrollers > in general ), here, though I come from 15 years in applications > development in C/C++/Java etc. One thing I've noticed is that the > vast majority of asm code I find relating to the PIC is all written > in absolute mode, and not relocatable mode. Is there any particular > reason for that? It seems more than a little odd to find extensive > web pages full of projects, in which the same code is simply duplicated > over and over in multiple copies of files, some of which are obviously > just earlier versions that never got updated. In one of the books > I'm reading, the author explicitly states that he never uses relocatable > mode, because the linker is too slow, etc. > > Anyhow - is there some inherent advantage of absolute mode that > I'm missing? It seems like just having a library of routines available > that can be easily source controlled and made availible to multiple > projects makes far more sense than the endless use of include files. > > Thanks, > - Rich > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu