Jim escreveu: > All, > > Just a point of interest here and that is if you look at the output of a = > compiler, you'll see exactly what is explained here. > Several Calls, Goto's, Labels, etc. But that is necessary. That's what = the = > PIC, (or any controller / uP) understands. > And the source code lines in a "C" or "BASIC" program ultimately get = > converted into many assembly instructions, > and ultimately into machine code. So, it is easier to write one line of = > "C" for instance, and have the compiler worry about > = The point here is exactly this: less code to write (faster), easier to understand (and remember) and for others to understand too, less need for comments, more compact code, simpler to port to other architectures (when porting assembly code to a different line of processors, many times it may be easier to rewrite everything) and one can focus on the problem rather than in the implementation. > keeping track of everything and converting it to assembly/machine code. = > But, do you learn anything in this process? > = Sometimes I learn more by understanding well the problem than diving into the fine details of the assembly instructions. What will the OP learn by writing the program in assembly language if he already knows it well? If he learns a HLL to write the program, then he will learn a little (or a lot) more than he knows now. Is the OP planning to get stuck forever with PICs? If not, what will he do with all the code he has written already? I program in assembly as well (or badly) as I do in HLLs, but I=B4m trying to make a living out of programming and if coding in C shortens the development cycle and gives better quality code, then I go for it. > Maybe, but not enough to justify using it in my opinion. > > Anyway, that's my input on this subject. > > Regards, > > Jim > = __________________________________________________ Fa=E7a liga=E7=F5es para outros computadores com o novo Yahoo! Messenger = http://br.beta.messenger.yahoo.com/ = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist