Click to See Complete Forum and Search --> : Please help with loops


cannsyl
June 12th, 2008, 11:05 PM
I have a problem where I am not sure where to put my loops
I have to get the user to enter some characters and check to make sure it is not CR then take that character make sure it is an integer then put it in a initial register then if no more characters put in finalregister and convert to binary. if another character put original character in final and multiply by 10 then put second in initial register and add to final then convert to binary and so on. I have no Idea where to put the loop? I know it is probably staring at me, but I can't see it. I can put the code I have so far if anyone would like to see it. Thanks so much for any help in advance.

Bluefox815
October 1st, 2008, 09:25 PM
I don't think anyone can really help you unless you post what code you have. The assembler you use would be helpful too.