Difference between revisions of "Assembler:Commands:SUBSD"
Jump to navigation
Jump to search
(Created page with 'Category:Assembler '''command''' subsd ''destination, source'' Subtracts the source from the destination. Used for Subtracting Scalar Double-Precision Floating-Point Values.…') |
m |
||
Line 11: | Line 11: | ||
Subtracts the low double-precision floating-point value in the source operand (second operand) from the low double-precision floating-point value in the destination operand (first operand), and stores the double-precision floating-point result in the destination operand. The source operand can be an XMM register or a 64-bit memory location. The destination operand is an XMM register. The high quadword of the destination operand remains unchanged. | Subtracts the low double-precision floating-point value in the source operand (second operand) from the low double-precision floating-point value in the destination operand (first operand), and stores the double-precision floating-point result in the destination operand. The source operand can be an XMM register or a 64-bit memory location. The destination operand is an XMM register. The high quadword of the destination operand remains unchanged. | ||
− | [ | + | [https://c9x.me/x86/html/file_module_x86_id_311.html c9x.me/x86/html/file_module_x86_id_311.html] |
</div> | </div> | ||
Line 21: | Line 21: | ||
|- | |- | ||
|destination | |destination | ||
− | | | + | |xmm |
|- | |- | ||
|source | |source | ||
− | | | + | |xmm / m64 |
|} | |} | ||
Line 44: | Line 44: | ||
== 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 01:12, 3 January 2018
command subsd destination, source
Subtracts the source from the destination. Used for Subtracting Scalar Double-Precision Floating-Point Values. The subsd command can only be used with xmm registers.
Destination = Destination - Source
Subtracts the low double-precision floating-point value in the source operand (second operand) from the low double-precision floating-point value in the destination operand (first operand), and stores the double-precision floating-point result in the destination operand. The source operand can be an XMM register or a 64-bit memory location. The destination operand is an XMM register. The high quadword of the destination operand remains unchanged.
Command Parameters[edit]
Parameter | Description |
---|---|
destination | xmm |
source | xmm / m64 |
Examples[edit]
subsd xmm0,xmm1
subsd xmm3,[edx+110]
subsd xmm15,[rdx+10]
subsd xmm5,[00123abc]
subsd xmm7,[UserDefinedSymbol]