Difference between revisions of "Assembler:Commands:MOVSS"
(Created page with 'Category:Assembler '''command''' movss ''destination, source'' Copies the data from source operand to destination operand. Used for Moving Scalar Single-Precision Floating-P…') |
m (→Examples) |
||
Line 41: | Line 41: | ||
movss xmm5,[00123abc] | movss xmm5,[00123abc] | ||
− | movss [ | + | movss [00123abc],xmm12 |
movss xmm7,[UserDefinedSymbol] | movss xmm7,[UserDefinedSymbol] |
Revision as of 08:46, 27 November 2017
command movss destination, source
Copies the data from source operand to destination operand. Used for Moving Scalar Single-Precision Floating-Point Values. The movss command can only be used with xmm registers.
Moves a scalar single-precision floating-point value from the source operand (second operand) to the destination operand (first operand). The source and destination operands can be XMM registers or 32-bit memory locations. This instruction can be used to move a single-precision floating-point value to and from the low doubleword of an XMM register and a 32-bit memory location, or to move a single-precision floating-point value between the low doublewords of two XMM registers. The instruction cannot be used to transfer data between memory locations.
When the source and destination operands are XMM registers, the three high-order doublewords of the destination operand remain unchanged. When the source operand is a memory location and destination operand is an XMM registers, the three high-order doublewords of the destination operand are cleared to all 0s.
enem
Command Parameters
Parameter | Description |
---|---|
destination | The destination operand |
source | The source operand |
Examples
movss xmm0,xmm1
movss [edx+110],xmm4
movss [rdx+10],xmm8
movss xmm3,[edx+110]
movss xmm15,[rdx+10]
movss xmm5,[00123abc]
movss [00123abc],xmm12
movss xmm7,[UserDefinedSymbol]
movss [UserdefinedSymbol],xmm10