Logo 
Search:

Assembly Language Forum

Ask Question   UnAnswered
Home » Forum » Assembly Language       RSS Feeds

Read integer number

  Asked By: Rafat    Date: Apr 22    Category: Assembly Language    Views: 2907
  

Write an assembly program that reads an integer number (could be positive or negative) and then calls a function called abs. This function (which will be written by you as well) returns the absolute value of its integer parameter. For example abs(-5) = 5 and abs(5) = 5. Your program should read the number from the keyboard and call the abs function and then display the result.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Read integer number Or get search suggestion and latest updates.




Tagged: