Question

The value of the rsi-register points to some space in memory and I want to load the first 128 bit into an arbitrary xmm register. I tried movdqa %rsi, %xmm0, but %rsi is a invalid operand for instruction. I think I have to convert it to a double quadword but I was not able to find such a command.

How can I use 64bit registers as operand of the movdqa command?

Was it helpful?

Solution

The syntax in gnu assembler is

movdqa (%rsi), %xmm0
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top