I know that we can input strings and characters in 8086, but how can we input integers? Is it just through converting the input string to an integer?
Asked
Active
Viewed 1,224 times
0
-
You can only read characters from a keyboard, you have to convert them to integers. What compiler are you using? – Jason Sperske Dec 19 '13 at 17:13
-
If you don't want to write your own conversion function and if you have access to the C runtime library, then you can use `atoi` function... – Sam Dec 20 '13 at 06:19
1 Answers
1
I'm not sure, but when i needed to do it in studies we just converted it manually and it was accepted solution. Didactician didn't tell us about better method.

alxio
- 128
- 4
-
thank you!was it through converting string using its ascii code?! – Sedigheh Monavari Dec 20 '13 at 09:14