|
-
Apr 10th, 2006, 02:39 AM
#1
Thread Starter
New Member
Strings
i have a string in memory:
DB "This is my message$"
I want to loop on the string, taking each character ONE AT A TIME, and performing some operation on them.
I started by making SI point to the first character - then i increment it by one every time. But how do i know when i arrived at the end of the string?
Thanks for your help guys!
-
Apr 10th, 2006, 10:50 PM
#2
Re: Strings
When SI points to $. Just test each character as you get it. It's the old DOS "print" routine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|