*/
Looking for work? Check out our jobs area.
*/

Fast 32-bit binary to compact radix conversion - Keil Shell V1.0

*/

Fast 32-bit binary to compact radix conversion - Keil Shell V1.0

Submitted By: Graham Cole
Rating: (Not rated) (Rate It)

The function fast_binary_to_bcd() converts a 32-bit (long
unsigned int) to 11 digits of the specified radix (unsigned
char). The specified radix may be 8, 10 or 16. Two digits are
compacted into each byte. The eight least significant digits
are returned in R4…R7 so as to be compatible with Keil
function return value standards for an unsigned long int. The
three most significant digits are returned in R2 and R3.
fast_binary_to_radix() uses the currently selected register
bank, the Data Pointer (DPL and DPH) and general purpose
registers. No memory or stack is required. The function is
written in a Keil “shell” and may easily be
incorporated into a Keil C51 based project. However, all the
functionality is expressed in assembler and the function may
easily be converted to work with any assembly language
environment. A test harness is also provided.


NOTE: Some downloads must be obtained through publishers´s site.
Do you want to get your software listed on this site? Go to our submissions area.

Screenshot

No Image

Details

File Name:
34550.zip
Product homepage:
Order page:
Languages:
Unknown
Platforms:
Unknown
Release date:
6/8/2004
License:
Unknown
Size:
15 KB
Price/Fee (US$):
Unknown
Number of downloads:
1231

Comments (1)

Thanks   Posted by: liuqin on Tuesday, April 17, 2007

I think this is very useful for me ,Very Good

Add Your Rating

(Not published)
star
starstar
starstarstar
starstarstarstar
starstarstarstarstar

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.