I think it's important to know and use both of them. The right tool for the right purpose, it is not a question of either or, but both. You need them, simply because you cant do everything in C, but its possible in asm. However, to avoid reinventing the wheel use C for the bulk, and asm when it's not possible or economical to use C. With best regards Tomas Larsson Sweden http://www.naks.mine.nu for downloads etc. ftp://ktl.mine.nu for uploads. Or use the free www.yousendit.com service. Verus Amicus Est Tamquam Alter Idem > -----Original Message----- > From: piclist-bounces@mit.edu > [mailto:piclist-bounces@mit.edu] On Behalf Of Bill & Pookie > Sent: Sunday, February 19, 2006 6:29 PM > To: Microcontroller discussion list - Public. > Subject: Re: C or asm? > > The Pic assembler is a good first assembler to learn. It has > most of the directives of other assemblers although they may > be called other names. It also would teach you to produce a > hex file (object file) and how to use a linker if you so > chose. And you will become aware of how I/O devices such as > a uart work. > > The low end Pic instruction set is very small and each does > just one thing and has no special cases or modifiers. The > exception is that some instructions allow you to override the > default and put the result in the W or File register. So the > instructions are much easier to learn. > > A difference between the low end Pic and "Real Computers" is > that the Pic is more bit orientated while other computers are > byte or word devices. Also because of limited instruction > set, many things can not be done with a single Pic instruction. > > But as you learn new stuff, you draw from the old stuff you > have learned and this makes things easier. So while low end > Pic assembly may/may not be necessary, you will become > comfortable with it and producing running code much quicker > than with a "Real Computer" > > Bill > > And Juan, Pookie wants me to ask if you had two feet of snow > there last week. She is looking for a warmer place. > > > ----- Original Message ----- > From: "Juan Cubillo" > To: > Sent: Saturday, February 18, 2006 6:05 AM > Subject: C or asm? > > > > Hello list, > > > > What language would you guys consider as better for general > (hobby-like) > > aplications? > > > > I'm trying to learn assembler by myself, but I'm also > learning c++ at > > school. Should I stay with c at this moment and forget about asm? > > > > Thnkz > > Juan Cubillo > > > > -- > 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