27 ms·
Hackers Delight
- jhallenworld 11y agoThis book is an awesome collection of bit-level hacks. One practical use is for fast arbiters / one-hot bit priority and round-robin encoders for FPGAs and ASICs: http://www.fpgarelated.com/showthread/comp.arch.fpga/61833-1.php http://www.fpgarelated.com/showthread/comp.arch.fpga/61833-1...
- Artemis2 11y agoIt's really a great reference. There is also some neat explanations of a few error correction/error detection algorithms.
- jhallenworld 11y agoOh one other thing I forgot: it shows how to implement full-word (or less) flags in C for simulators: http://sourceforge.net/p/exorsim/code/ci/default/tree/sim6800.c#l142 http://sourceforge.net/p/exorsim/code/ci/default/tree/sim680...
- drallison 11y agoHacker's Delight is a must have book that should be in the library of every serious programmer. Other works in the same genre include some portion of Don Knuth's Art of Computer Programming (especially Volume 4) and the classic Hackmem report from MIT.