Embedded Programming Tricks reference

Aug 19, 2008 1 Replies

Hi,



I remember reading a book or website (or even a long article) on fast embedded programming tricks. Along the lines of "divide by 10, shift left three times and add it back to itself". Of course that one isn't correct but there were a whole lot of fast algorithms in one place -- I just cannot remember where I saw it.



The specific one I am looking for is a fast "shift large buffer right by n bits", and I seem to remember there was a quick way of doing it in a HLL.



Anybody remember a reference like this,


TIA, Gavin Melville gavin.melville@acclipse.co.nz

formatting link
(that's most likely what you're looking for)

formatting link
(the other site.. more general and less in-depth but still very usefull)

Nils

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required