Joe Bento wrote: > I'm attempting to learn C and embedded C as well as JAL. In my attempt > to learn, I initially had troubles in getting all the tools to work on a > Mac. (I'm determined to take the Windows partition off my MacBook). > However, I now have a working Hi-Tech compiler, Eclipse IDE, and my > PicKit2 as well as a Wisp648 all working on my Mac. I know know the > basic command line routines for the applications as well. > > As far as learning a programming language, I've read mixed opinions. > The only assembler I've done are the example lessons with the PicKit2. > Some people seem to say to dig right in and learn C and forget > assembler. With exception of some subroutines embedded in C (or JAL is > where I've seen it more frequently), is there any advantage to learning > assembler first? > > > I don't really know how to answer that question considering that I am just starting to learn C on the PIC but I will give it a try! In my particular circumstance, I feel that having learned assembly language on the PIC has given me a firm understanding of how the processor behaves at the core level. At this point in time, I'm not sure how C will translate to assembly or how much code overhead will be produced but there have been many discussions on the list concerning these concepts. In the case of the hobbyist who uses a processor with enough memory, some extra code generated by compiling the C source may not be a problem. But being an engineering professional (although not in the embedded field), I tend to gravitate toward the most efficient means of solving a problem or creating a new design (I don't need a rail car to haul a small truckload of trash). so I tend to choose a device that will fit the purpose with little overkill. I know from my experience with assembly and from my research into C, that there are benefits and drawbacks to both. On a hobby level though, I think that I will complete a project faster once I learn to use C. Hope that helps! -- Regards, Stephen D. Barnes -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist