> > I agree with the last, but IMHO asm offers a very weak > environment for > > re-useable code, because there is no automatic > > - removal of un-used code > > The librarian and linker do that, independent of language. Come on Olin, look a bit wider than your assembler view! Take this code fragment (imagine it being part of the delay needed for I2C or SPI or the like: for( i=0; i+1 < time_in_us; i++ ){ wait_1us() } time_in_us could be a variable with an unknow value => generate code, or a constant with a known value => generate different, more compact code, or a constant that is 0 or 1, or even a variable that is known to hold a value of 0 or 1 => generate no code at all. The important point is that the writer of this piece of code does not have to optimize for each of these situations, the compiler will do it for him. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body