32 Bit Binary to ASCII Routine...
OK,
I was looking for one (see Subject), and couldn't find one.·So, I found a good starting point, and wrote one. Seem to work fine.
Anyway, any of you good ASM coders want to take a look at it?
See if you can spot any bugs or tweaks·and report back?
Has a few tweaks for speed (commented out, and commented...)
~171 commands, ~1266 cycles to execute worst case...
-Dan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A saint-like quantity of patience is a help, if this is unavailable, a salty vocabulary works nearly as well." - A. S. Weaver
I was looking for one (see Subject), and couldn't find one.·So, I found a good starting point, and wrote one. Seem to work fine.
Anyway, any of you good ASM coders want to take a look at it?
See if you can spot any bugs or tweaks·and report back?
Has a few tweaks for speed (commented out, and commented...)
~171 commands, ~1266 cycles to execute worst case...
-Dan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A saint-like quantity of patience is a help, if this is unavailable, a salty vocabulary works nearly as well." - A. S. Weaver
Comments
Any bugs/tweaks to report? [noparse];)[/noparse]
I'm probably going to submit· it to www.sxlist.com once I'm sure it's ok...
-Dan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A saint-like quantity of patience is a help, if this is unavailable, a salty vocabulary works nearly as well." - A. S. Weaver
Is your routine signed or unsigned?
Thanks,
PeterM
Sorry, didn't include that info...
-Dan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A saint-like quantity of patience is a help, if this is unavailable, a salty vocabulary works nearly as well." - A. S. Weaver