Has anyone out there got some sample code for reading in numbers (in ASCII) and converting these to actual numbers to be used in calculations?
I amd using TASM and I need to get the user to enter in 2 32bit numbers and then I will add them. I know the code for reading in from the keyboard (ie. mov al, o1h int 21h) but I do not know what to do then to convert them into numbers which I can use. If you have any example source code it would be appreciated.
I amd using TASM and I need to get the user to enter in 2 32bit numbers and then I will add them. I know the code for reading in from the keyboard (ie. mov al, o1h int 21h) but I do not know what to do then to convert them into numbers which I can use. If you have any example source code it would be appreciated.