1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Decimal to Binary Conversion Help

Discussion in 'Assembly Language Programming (ALP) Forum' started by yayo, Feb 21, 2008.

  1. yayo

    yayo New Member

    Hey guys,

    Im currently a final year in colorado needing help with ALP.
    Im trying to create a simple program that has aa number of functions, the problem im having is converting a input number from a user to binary form.

    I know the conversion rule (divde by 2, if there is a remainder then wirte 1, if not 0, keep doing until the answer is 0 then read it backwards) and it is simple in java but im having problems gettign my head around it in ALP.

    I have currently figured out how to ask for a prompt from the user,
    Read the usr input and then store that input.

    For some reason i am constantly thinking i am going to need a loop in order to carry this out. Am i correct?

    Please help, it would really be appreciated.
     

Share This Page