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