Export (0) Print
Expand All

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


 

 

Community Additions

ADD
Show:
© 2014 Microsoft