Difference between revisions of "Assembler:Commands:ADDSS"
Jump to navigation
Jump to search
(→Examples) |
m |
||
Line 2: | Line 2: | ||
'''command''' addss ''destination, source'' | '''command''' addss ''destination, source'' | ||
− | Adds the source to the destination. Used for Adding Scalar Single-Precision Floating-Point Values. | + | Adds the source to the destination. Used for Adding Scalar Single-Precision Floating-Point Values. The addss command can only be used with xmm registers. |
Revision as of 01:15, 27 November 2017
command addss destination, source
Adds the source to the destination. Used for Adding Scalar Single-Precision Floating-Point Values. The addss command can only be used with xmm registers.
Destination = Destination + Source
Adds the low single-precision floating-point values from the source operand (second operand) and 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 | The destination operand |
source | The source operand |
Examples
addss xmm0,xmm1
addss xmm3,[edx+110]
addss xmm15,[rdx+10]
addss xmm5,[00123abc]
addss xmm7,[UserDefinedSymbol]