| |
| | More mind-boggling math: Adding and subtracting unsigned BCD - 9/21/2005 - EDN (Site not responding. Last check: 2007-10-21) |
 | | This is a perfectly legitimate value for a binary addition, but if we are wishing to perform a BCD operation, we would expect to see a result of 2 (that's 0010 in binary) with a carry-out of 1 from the first nybble. |
 | | The reason we do all of this, of course, is that it's really simple to generate the ones complement of a value by inverting all of its bits, thereby allowing us to use the binary adder to perform both additions and subtractions. |
 | | In addition to being a hero, trendsetter, and leader of fashion, Max is widely regarded as being an expert in all aspects of computing and electronics (at least by his mother). |
| www.edn.com /article/CA6258681.html?ref=nbop (1309 words) |
|