x86/MASM hexadecimal string to numeric conversion

A place for MASM, HLA, Gas, and other assembly languages.
Post Reply
rhyde
Site Admin
Posts: 49
Joined: Sun Dec 04, 2022 5:36 pm

x86/MASM hexadecimal string to numeric conversion

Post by rhyde »

In post viewtopic.php?t=700 I uploaded some ARM code that efficiently converts a string of hexadecimal characters to a 32-bit integer. I translated that ARM code to 64-bit x86 assembly as well (attached). This code converted about 1.5 billion hex strings (of various lengths) in about 10 seconds.
Cheers,
Randy Hyde
Attachments
strToH64.zip
(8.19 KiB) Downloaded 152 times
Post Reply