troubleshooting Question

How fast is your ASM hex converter?

Avatar of DanRollins
DanRollinsFlag for United States of America asked on
49 Comments1 Solution10581 ViewsLast Modified:
Note [3/24/2002]: Continuing at
Note [3/31/2002]: And then continued here:  http:Q.20283475.html

Just throwing out the gauntlet:
Write an 80x86 routine that converts 16 bytes of data to hex and ASCII format.  The ASCII 16 bytes should show . (period) for characters <32 or >127.  Output format is 65 bytes:

XX XX XX XX XX XX XX XX-XX XX XX XX XX XX XX XX aaaaaaaaaaaaaaaa\0
void HexLineOut( BYTE* pSrc, char* pszBuf )
        // your code here!

Prove that your code is the fastest on earth.  Show that it is faster than similar code written in straight (optimized) C.  We could run tests by converting a 10 MB buffer and timing the results.  

Is anyone game?
Join our community to see this answer!
Unlock 1 Answer and 49 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 49 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros