Parallax Forums
  HomeLog InRegisterCommunity CalendarSearch the ForumHelp
   
Parallax Forums > Public Forums > SX Microcontrollers, SX/B Compiler and SX-Key Tool > 32 Bit Binary to ASCII Routine...  Forum Quick Jump
 
New Topic Post Reply Printable Version
[ << Previous Thread | Next Thread >> ] | Show Newest Post First ]

dkemppai
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Oct 2004
Total Posts : 315
 
   Posted 11/18/2008 9:51 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
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



File Attachment :
32BitBinaryTo10DigitASCII.SRC   9KB (application/octet-stream)
This file has been downloaded 160 time(s).
Back to Top
 

dkemppai
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Oct 2004
Total Posts : 315
 
   Posted 11/20/2008 1:15 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
OK, so a bunch of you have looked at it and archived it for future purposes... 
Any bugs/tweaks to report? ;)
 
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

Back to Top
 

PJMonty
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 1016
 
   Posted 11/21/2008 9:08 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Dan,

Is your routine signed or unsigned?

Thanks,
PeterM
Back to Top
 

dkemppai
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Oct 2004
Total Posts : 315
 
   Posted 11/21/2008 12:09 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
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

Back to Top
 
[ << Previous Thread | Next Thread >> ]
New Topic Post Reply Printable Version
 
Forum Information
Currently it is Tuesday, February 09, 2010 3:18 AM (GMT -8)
There are a total of 415,988 posts in 57,637 threads.
In the last 3 days there were 78 new threads and 885 reply posts. View Active Threads
Who's Online
This forum has 18517 registered members. Please welcome our newest member, try388.
50 Guest(s), 7 Registered Member(s) are currently online.  Details
Rsadeika, Graham Stabler, humanoido, Bob Lawrence (VE1RLL), Rick Brooks, JohnandElspeth, mikestefoy