decimal to binary, to hex, and to octal

please help! i need an assemly program converting a decimal number to binary, decimal to hex and decimal to octal!

Comments

  • Hello,

    I have just made some examples for converting a number in AX to binary, hex, and octal strings. You can download it from the below URL.



    http://au.geocities.com/NumSys.zip



    Cheers,
    Michael Gallagher
    asmosprog@hotmail.com
    asmosprog@iprimus.com.au



    : please help! i need an assemly program converting a decimal number to binary, decimal to hex and decimal to octal!
    :

  • Hello,

    I have made another example which converts a decimal number in a ASCII string into a real usable number in AX. I also made a mistake with the URL in my last post.



    http://au.geocities.com/asmosprog/NumSys.zip
    http://au.geocities.com/asmosprog/DecStr.zip



    Cheers,
    Michael Gallagher
    asmosprog@hotmail.com
    asmosprog@iprimus.com.au



    : Hello,
    :
    : I have just made some examples for converting a number in AX to binary, hex, and octal strings. You can download it from the below URL.
    :
    :
    :
    : http://au.geocities.com/NumSys.zip
    :
    :
    :
    : Cheers,
    : Michael Gallagher
    : asmosprog@hotmail.com
    : asmosprog@iprimus.com.au
    :
    :
    :
    : : please help! i need an assemly program converting a decimal number to binary, decimal to hex and decimal to octal!
    : :
    :
    :

  • [green]
    It looks like Asmosprog got ya all fixed up,
    but if ya want more examples,
    ya might try C:NASMINC16 PROC's
    WRITHEX.INC
    WRITBIN.INC
    WRITDIGT.INC
    WMEMHEX.INC (etc, I got about 15 of em in there fer 16 & 32 bit)
    http://bitdog.home.att.net/files/nasmenv.zip
    Although their Nasm include files, the coding is real close to Masm
    so you can get an idea of what's going on in a # converter anyway.

    Bitdog
    [/green]

  • : please help! i need an assemly program converting a decimal number to binary, decimal to hex and decimal to octal!
    :

  • hm. the geocities site is no longer working, do still have the code? thanks in advance! :)
  • hm. the geocities site is no longer working, do still have the code? thanks in advance! :)
  • can you please post your code again? thanks! :)
Sign In or Register to comment.

Howdy, Stranger!

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

Categories