One more Steve:
Usually one ends with "\n\t" at the end of assembly line in c codeand with no 
whitespaces in he beginning.
Do not ask why -- I dunno. may be this looks better.
~d



On Tuesday 10 June 2003 16:58, Steve Underwood wrote:
> Mark Stokes wrote:
> >Great FAQ!!!
> >Some suggestions:
> >x27.html :
> >You might add that any and all BCD variables must be dealt with straight
> >assembly, but then tell them how easy it is.
>
> I just added something in the "I will still need to use some assembly
> language somewhere, won't I?" section about BCD. I didn't have any
> examples of using assembly language to access special machine features,
> as one might do on any processor. BCD handling is a good one. I included
> some example code - a normal routine for binary->BCD conversion, and a
> little inlined one for adding. The conversion routine is pasted in from
> my own software. The addition routine is unchecked!
>
> >x81.html:
> >You need to replace "do" with "to" in the title.
>
> Done.
>
> >Great work (and thanks for the pwm example).
>
> We should really build a library of source code like this, as the wheel
> keeps getting reinvented far too often.
>
> I've seen a few nice examples of something in this area recently.
> Someone showed me a routine for setting an FLL to any frequency. You
> wouldn't really use this routine in a real embedded program, as its
> generality makes it too big. However, reading through it is the best way
> I have found to figure out what to put in the registers to achieve the
> specific FLL frequencies I actually want.
>
> Regards,
> Steve
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
/********************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys 
      (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
   (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
 ********************************************************************/


Reply via email to