0

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?

nrz
  • 10,435
  • 4
  • 39
  • 71
  • 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 Answers1

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