HEX to Decimal Conversion - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

HEX to Decimal Conversion

Hi all. I've been programming something to count certain things in a string of ASCII characters and it outputs the results on the screen once it's done. But not everyone reads HEX so i need to find out a way to convert HEX to ASCII and i've been wondering if there's an instruction to do so. I've looked into the x86 instruction set and the only thing that i could think that could do this is with AAA and the likes. Any suggestions would be appreciated as i would like to avoid a hole bunch of code for the conversion. Thanks!

~V

Comments

  • VezrilVezril Posts: 2Member
    : Hi all. I've been programming something to count certain things in a
    : string of ASCII characters and it outputs the results on the screen
    : once it's done. But not everyone reads HEX so i need to find out a
    : way to convert HEX to ASCII and i've been wondering if there's an
    : instruction to do so. I've looked into the x86 instruction set and
    : the only thing that i could think that could do this is with AAA and
    : the likes. Any suggestions would be appreciated as i would like to
    : avoid a hole bunch of code for the conversion. Thanks!
    :
    : ~V
    :

    All right all good. I figured it out.

    Thanks anyways!
Sign In or Register to comment.