Reverse String - Assembly Language

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

Join Date: Sep 2006
Posts: 1
Reputation: rmeader is an unknown quantity at this point 
Solved Threads: 0
rmeader rmeader is offline Offline
Newbie Poster

Reverse String - Assembly Language

 
0
  #1
Sep 26th, 2006
Can anyone point me to a discussion or reference tutorial, etc. on how to write a program in Assembly to reverse a simple string?
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 155
Reputation: mostafadotnet is on a distinguished road 
Solved Threads: 10
mostafadotnet's Avatar
mostafadotnet mostafadotnet is offline Offline
Junior Poster

Re: Reverse String - Assembly Language

 
0
  #2
Oct 3rd, 2006
Hi rmeader,
I have a string reversal application written in assembly which is in Code Snippet section of this site at this address:
http://www.daniweb.com/code/snippet548.html

Good luck.
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 130
Reputation: Evenbit is on a distinguished road 
Solved Threads: 4
Evenbit's Avatar
Evenbit Evenbit is offline Offline
Junior Poster

Re: Reverse String - Assembly Language

 
0
  #3
Oct 6th, 2006
Originally Posted by rmeader View Post
Can anyone point me to a discussion or reference tutorial, etc. on how to write a program in Assembly to reverse a simple string?
If you push the characters onto a stack and then pop them off again then you will get them in reverse order.

Nathan.
while (CPU is present) {some assembly required}
Reply With Quote Quick reply to this message  
Reply

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




Views: 9474 | Replies: 2
Thread Tools Search this Thread



Tag cloud for Assembly
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC