Ask your own question, for FREE!
Computer Science 24 Online
OpenStudy (anonymous):

Can someone help me with my Assembly Please?

OpenStudy (anonymous):

I would like to get rid of the leading zeros but cannot think of how to do this.

OpenStudy (anonymous):

Can anyone help?

OpenStudy (anonymous):

I don't know assembly, but maybe you could translate this algorithm into assembly. I'd keep track of the number of characters printed (really, just keep track of whether I've printed anything or not). And before I print any digit I'd check to see if the digit is 0 first. If this digit is 0 and I haven't printed anything yet, don't print. If this digit is 0 and I HAVE printed something, print it. If I'm at the end of the data and I haven't printed anything, print a 0.

OpenStudy (anonymous):

I will try that.. Thanks for your help!!

OpenStudy (beefarm):

Did that work, or do you still need help?

OpenStudy (anonymous):

I havent tried it yet but what would your suggestion be?? It never hurts to have more than one suggestion!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!