|
-
Apr 10th, 2006, 02:41 AM
#1
Thread Starter
New Member
Incrementing SI by a value held in register AL
i have a value in AL, and I want to increment SI by that value.
I tried using ADD SI, AL but the assembler does not accept this (i get a wrong paramters error!)
The work around i used is a loop, incrementing SI each time by one. But this is inefficient!
How can this be resolved!!!??
thanks again!
-
Apr 10th, 2006, 10:49 PM
#2
Re: Incrementing SI by a value held in register AL
Move SI to another register that you can add to A, then move the result to SI.
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
|