Answer the question
In order to leave comments, you need to log in
NASM offset in array (invalid effective address)?
How can offset be done in nasm?
That is, you can do something like [string + 2], but I need to do it through a variable that increments (in my case, cx, that is, [string + cx]). When trying to perform such an action, "mov [str2 + cx], ax" knocks out invalid effective address
Answer the question
In order to leave comments, you need to log in
How can offset be done in nasm?
[string + cx]
invalid effective address
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question