×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

local procedures

local procedures

local procedures

(OP)
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

RE: local procedures

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."

RE: local procedures

(OP)
sorry guess i wasnt very clear there..
the digits are decimal
number with 2 digits

RE: local procedures

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."

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close