x86 Assembly Language Reference Manual

Addition Instructions

Real Add (fadd)

fadd{ls}
Example

Add stack element 7 to stack element 0 and return the sum to stack element 0.

fadd %st(7), %st

Real Add and Pop (faddp)

faddp
Example

Add stack element 0 to stack element 7 and return the sum to stack element 7, then pop the stack.

faddp %st, %st(7)

Integer Add (fiadd)

fiadd{l}

Example

Add the integer contents of register ECX to stack element 0.

fiadd 2(%ecx)