to convert the string in X to an integer and save it in Y
to convert the string in X to an integer and save it in Y
(OP)
I need IA-32 instructions to convert the string in X to an integer and save it in Y.
INCLUDE Irvine32.inc
.data
X byte "659"
Y word ?
.code
begin:
?
end begin
INCLUDE Irvine32.inc
.data
X byte "659"
Y word ?
.code
begin:
?
end begin
RE: to convert the string in X to an integer and save it in Y
2. How would you convert this numerical value to its respective digit value? ("6" -> 6)?
3. How do you convert the digit value to its place value? (6 -> 600)
I won't write the code for you as you won't learn anything that way but answer the above questions, and it should help the light bulb come on. Writing your own code for your own solution is 90% of the fun of programming.