Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

local procedures

Status
Not open for further replies.

glogic

Programmer
Nov 8, 2001
15
IE
hi who ever is reading this..
what i need to do is take write a procedure which can take input of 2 digit values and another procedure to output 2 digit values. this is to be written in assembly
thanks in advance and any help at all would be great
 
What kind of digits? Decimal? Hexadecimal? Binary?

And JUST two digits?

A number with two digits?

Two numbers one digit each?
"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
sorry guess i wasnt very clear there..
the digits are decimal
number with 2 digits

 
You can have a lot of options here my dear fellow.

You can ask DOS to input anything the user wants, and then process the input string afterwards.

Or you can write your own input routine which automatically filters out any non-numeric input. Even make it beep if your user tries to input a letter instead of a decimal digit.

Pick one. Or think of something you want.

How about inputting the numbers in a nice little window?

There's a whole lot of options in inputting numbers my dear friend.
"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top