Assembly Help

Please support our Assembly advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Apr 2009
Posts: 2
Reputation: enginer is an unknown quantity at this point 
Solved Threads: 0
enginer enginer is offline Offline
Newbie Poster

Assembly Help

 
0
  #1
Apr 18th, 2009
I am completely new to assembler and I am starting to write in assembler 8086-8088 with tasm.

I have the beginning correctly. I need only the coding for reading two digit numbers. So far I know that you have to multiply the first by 10 and add the second.

Please help me get started.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 10
Reputation: destruct0 is an unknown quantity at this point 
Solved Threads: 0
destruct0's Avatar
destruct0 destruct0 is offline Offline
Newbie Poster

Re: Assembly Help

 
0
  #2
Apr 21st, 2009
Please explain again because I don't understand you?
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 2
Reputation: enginer is an unknown quantity at this point 
Solved Threads: 0
enginer enginer is offline Offline
Newbie Poster

Re: Assembly Help

 
0
  #3
Apr 21st, 2009
I have to write an assembler program with 8086/8088 that reads in two 2-digit integers, one keystroke at a time and then does Euclid algorithm on it. I know how to do one digit integer but not 2 digit integer. Could you please help me out?
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 4
Reputation: peachville has a little shameless behaviour in the past 
Solved Threads: 0
peachville peachville is offline Offline
Newbie Poster

Re: Assembly Help

 
0
  #4
Apr 21st, 2009
You'll need to convert the 2 digit integers [0-99] and then load to the registers.
Do your math in the registers and then convert back.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC