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 |
||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
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. | 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. | ||
− | [ | + | [https://c9x.me/x86/html/file_module_x86_id_205.html c9x.me/x86/html/file_module_x86_id_205.html] |
</div> | </div> | ||
− | + | ||
=== Command Parameters === | === Command Parameters === | ||
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0" | {|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0" | ||
Line 20: | Line 20: | ||
|- | |- | ||
|destination | |destination | ||
− | | | + | |xmm / m32 |
|- | |- | ||
|source | |source | ||
− | | | + | |m32 / xmm |
|} | |} | ||
Line 41: | Line 41: | ||
movss xmm5,[00123abc] | movss xmm5,[00123abc] | ||
− | movss [ | + | movss [00123abc],xmm12 |
movss xmm7,[UserDefinedSymbol] | movss xmm7,[UserDefinedSymbol] | ||
Line 51: | Line 51: | ||
== External links == | == External links == | ||
− | * [ | + | * [https://c9x.me/x86/ c9x.me/x86/] |
* [http://ref.x86asm.net/ ref.x86asm.net] | * [http://ref.x86asm.net/ ref.x86asm.net] | ||
* [https://wikipedia.org/wiki/X86_instruction_listings wikipedia.org/wiki/X86_instruction_listings] | * [https://wikipedia.org/wiki/X86_instruction_listings wikipedia.org/wiki/X86_instruction_listings] |
Latest revision as of 00:51, 3 January 2018
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.
Command Parameters[edit]
Parameter | Description |
---|---|
destination | xmm / m32 |
source | m32 / xmm |
Examples[edit]
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