Skip to content

Binary to BCD bin2bcd; also div10, %10 using only HW multiply

Notifications You must be signed in to change notification settings

halsampson/DoubleDabble

Repository files navigation

Double Dabble algorithm for binary to BCD conversion without multiplies or divides

-- useful on small embedded processors, followed by simple hexadecimal output

-- also div 10 and mod 10 for MCUs such as MSP430F series with hardware multiply but no HW divide

About

Binary to BCD bin2bcd; also div10, %10 using only HW multiply

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages