x64 Assembly Tutorial 40: MMX Intro Registers, Move Instructions and EMMS

Creel
Creel
8.2 هزار بار بازدید - 13 سال پیش - In this tutorial we'll start
In this tutorial we'll start with a little intro to MMX. We'll look at the eight new MMX registers, MM0, MM1, MM2, MM3, MM4, MM5, MM6 and MM7. Then speak about the implications of these registers being aliased to the x87 Floating Point Unit's ST(x) registers.

This leads us to the EMMS instruction (Exit Multi Media State). MMX has two data moving instructions MOVD and MOVQ and finally I've prepared a little demo of how to use these 3 instructions and MMX registers.

We're not doing anything in this tutorial that regular x86 couldn't handle with the utmost elegance. MOV is a faster instruction for CPUs than MOVQ, but next tutorial when we look at some of the more interesting instructions we'll begin to see just how powerful the SIMD extensions are!
13 سال پیش در تاریخ 1390/08/23 منتشر شده است.
8,264 بـار بازدید شده
... بیشتر