Member Avatar for iomartin
iomartin

Hello,

I am really a beginner with Assembly, and I'm currently working on a program in which I receive a string of numbers, separated by spaces. I will have to perform some operations with these numbers, one at a time, but for that I have to recognise when a number "finishes".

My approach would be to read the string character by character until I find a space, and keep multiplying by 10 and adding as I go through the number. However, for that I have to know how to read one character at a time. How can I do that?

Thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.