13.7. 13.7 MMX Technology Instructions

The following subsections describe each of the MMX instructions in detail. The organization is as follows:

  • Data Transfer Instructions

  • Conversion Instructions

  • Packed Arithmetic Instructions

  • Logical Instructions

  • Comparison Instructions

  • Shift and Rotate Instructions

  • EMMS Instruction

These sections describe what these instructions do, not how you would use them. Later sections will provide examples of how you can use several of these instructions.

13.7.1. 13.7.1 MMX Data Transfer Instructions

movd( reg32, mmi );
movd( mem32, mmi );
movd( mmi, reg32 );
movd( mmi, mem32 );

movq( mem64, mmi );
movq( mmi, mem64 );
movq( mmi, mmi );

The movd (move double word) instruction copies data between a 32-bit integer register or double ...

Get Art of Assembly Language, 1st Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.