I have done movdqu [dst], xmm0 but I keep getting errors, however this works:
mov esi, dst
movdqu [esi], xmm0
Why is that? And how can I use direct memory write?
Thank you.
I have done movdqu [dst], xmm0 but I keep getting errors, however this works:
mov esi, dst
movdqu [esi], xmm0
Why is that? And how can I use direct memory write?
Thank you.
If you are trying to move the 128 bits of memory starting at address dst into xmm0 you can do the following in MASM. (I have not used MASM since the early 1990s, but from what I remember this should work):
movdqu oword ptr dst, xmm0
You might also try
movdqu dst, xmm0
I think the issue here is that in most assemblers you would use brackets to denote the value of a variable, but in MASM you do not!
In the case of
mov esi, dst
movdqu [esi], xmm0
the brackets are required because esi is not a variable; it is a register.