I would agree that one would have to know the MCU architecture before writing in C. I have seen ppl. written embedded C without knowledge of the MCU assembly. But it is not a good practice not to know assembly for the machine that you are working on so often. John --- William Chops Westfield wrote: > > On Oct 25, 2005, at 8:34 AM, Sam wrote: > > > Some say that using assembler your are more "in > control" of how code > > will be placed in memory after building and that > generally assembler > > is faster. Is it true? > > > Yes, it's probably true. The question is "how often > do you actually > need that sort of control or that (usually small) > increment of speed?" > MOST programs do not need to be as small and fast as > possible; they > only need to be small enough and fast enough. > > > > I would prefer to write code in C because writing > it is faster. > > Also true "in general." There are times I've spent > a long while trying > to get a compiler to do something tricky, eventually > giving up and > taking the 10 minutes it takes to write the function > in assembler. > As other have pointed out, you probably need to > understand a good bit > of assembler before you can write C programs for a > microcontroller > anyway... > > BillW > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist