?/TD>
Microsoft DirectX 9.0

mov (Vertex Shader)


Move data between registers.

Syntax

mov dst, src

where

Remarks

Vertex shader versions1_12_02_x2_sw3_03_sw
movxxxxxx

Can be used for floating point data and to update address registers. When used to update address registers, the values are converted from floating point using rounding to nearest.

The following code fragment shows the operations performed.

if(dest is an integer register)
{
    int intSrc = RoundToNearest(src.w);
    dest = intSrc;
}
else
{
    dest = src;
}

Instruction Information

Minimum operating systemWindows 98


© 2002 Microsoft Corporation. All rights reserved.