![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Aug 2005
Location: England
Posts: 37
Rep Power: 0
![]() |
Getting a correct input
Hi there anyone, was wondering if you can help?
I need to pull a users input in, ready for division i have been using al, and the dos interupt 21h but this will only load one character at a time and the program needs to except numbers upto 255, so i need to buffer it some how, and check that the input is a number not characters, im a little confused how to do this? |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Aug 2005
Location: England
Posts: 37
Rep Power: 0
![]() |
Sorry didnt explain myself to well, what i actually need to do is convert an ascii return value to a decimal number ready for division, cheers anybody?
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|