Intermediate Assembly Language
Q89 / 100

What is the difference between movdqu and movdqa?

Correct! Well done.

Incorrect.

The correct answer is B) movdqa (aligned) requires 16-byte aligned memory; movdqu (unaligned) works on any address but may be slower

B

Correct Answer

movdqa (aligned) requires 16-byte aligned memory; movdqu (unaligned) works on any address but may be slower

Explanation

movdqa moves 128 bits to/from a 16-byte aligned XMM register. movdqu handles unaligned addresses. On modern Intel/AMD, the penalty is minimal for unaligned accesses.

Progress
89/100