Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Purpose of BCD

Name: Anonymous 2010-02-10 4:50

Apparently, Binary Coded Decimal was an important feature in early CPUs. Can someone explain to me what its purpose is? I know that it makes it easier to print decimal values to a screen, but really, converting a binary integer into a string of decimal characters and vice versa are trivial problems. Is it really worth the extra CPU complexity and decreased data density just to give the programmer slightly less work to do when printing decimal numbers? You would think that with memory being so expensive back in the day, engineers would be more motivated to conserve its use.

Name: Anonymous 2010-02-10 5:00

It was cheaper to incorporate the well understood BCD circuitry into the CPU for the purpose of displaying decimal than it is to make use of the general CPU for the purpose of displaying decimals.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List