Shop OBEX P1 Docs P2 Docs Learn Events
32 Bit Binary to ASCII Routine... — Parallax Forums

32 Bit Binary to ASCII Routine...

dkemppaidkemppai Posts: 315
edited 2008-11-21 20:09 in General Discussion
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

Comments

  • dkemppaidkemppai Posts: 315
    edited 2008-11-20 21:15
    OK, so a bunch of you have looked at it and archived it for future purposes...·
    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
  • PJMontyPJMonty Posts: 983
    edited 2008-11-21 17:08
    Dan,

    Is your routine signed or unsigned?

    Thanks,
    PeterM
  • dkemppaidkemppai Posts: 315
    edited 2008-11-21 20:09
    PJMonty said...
    Dan,

    Is your routine signed or unsigned?

    Thanks,
    PeterM
    Unsigned...

    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
Sign In or Register to comment.