mova - vs
Microsoft DirectX 9.0 SDK Update (October 2004)

mova - vs


Move data from a floating point register to the Address Register, a0.

Syntax

mova dst, src

where

Remarks

Vertex shader versions1_12_02_x2_sw3_03_sw
movaxxxxx

Moves floating point data to an integer register. The values are converted from floating point using rounding to nearest.

The address register is the only destination register allowed.

The following code fragment shows the operations performed.

if(dest is an integer register)
{
    int intsrc = roundtonearest(src);
    dest = intSrc;
}
else
{
    dest = src;
}

For versions 2_x and above, the address register is a component vector. Therefore, any write mask is allowed.

mova a0.xz, r0


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.