David, My 2 cents worth. I've stated this several times on this forum, so it = shouldn't be a surprise to anyone who has been here for any length of time. And that is I think typical HLL's are a bit overkill = for PIC's. The resources on a PIC are limited and there just isn't enough of an advantage of using an HLL over assembly. I= f = you already know an HLL, regardless of flavor, then you might save a little time. But I prefer to program PIC's in = assembly. And in my opinion, if you already know assembly, don't bother with an HLL. By the ime you learn to program with any skill a= t = all in the HLL, you could have had the assembly program up and running. I have two C compilers and two BASIC compilers, = and they mostly sit idle. I don't use them unless I have to. With that said, anyone who prefers HLL's to program PIC's should by all = means follow their passion and use the HLL. I will use assembly unless the customer insists on an HLL. Anyone who disagrees with this assessment can chastise me offline. So, David, my advice is stick with assembly. If you have to learn = something, let it be something that can expand on what you already know and practice. However, the ultimate decision is up to you. Regards, Jim ----- Original Message ----- = From: "David Duffy" To: "Microcontroller discussion list - Public." Sent: Saturday, August 29, 2009 3:37 PM Subject: Re: [PIC] C Compiler Isaac Marino Bavaresco wrote: > If you don=B4t need to extract every bit of performance from the CPU, C is > much faster to program and get things running. Besides, it is easy to > port to different processors and maintain. > > If you are building an engine controller, which needs cycle-exact loops > and timing, etc. then I would advise using assembly. For a calculator, > with lots of user interaction and complicated logic it is better to use > C, perhaps with some assembly routines for time intensive calculations. > Thank you to everyone for their input so far. In some ways, I'm now feeling that C may be a waste of time since I already program in assembler. What are the advantages of moving to C? Going back to the project that prompted all this; does it sound reasonable to write assembly code for accessing an SD card and dealing with the FAT? David... -- = ___________________________________________ David Duffy Audio Visual Devices P/L Unit 8, 10 Hook St, Capalaba 4157 Australia Ph: +61 7 38235717 Fax: +61 7 38234717 New Web: www.audiovisualdevices.com.au ___________________________________________ -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist