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



Reply via email to