Using EMMS is like emptying a container to accommodate new content. The EMMS instruction clears the MMX™ registers and sets the value of the floating-point tag word to empty.
You should clear the MMX registers before issuing a floating-point instruction because floating-point convention specifies that the floating-point stack be cleared after use. Insert the EMMS instruction at the end of all MMX code segments to avoid a floating-point overflow exception.
Copyright © 1996-2011, Intel Corporation. All rights reserved.