x86 Assembly Language Reference Manual

Integer Transfer Instructions

Integer Load (fild)

fild{l|ll}
Example

Convert the integer operand (signed) into extended-real and load it onto the floating-point stack.

fild 2(%eax)

Integer Store (fist)

fist{l}
Example

Convert the value in stack element 0 into a signed integer and transfer the result to register ECX with an offset of 2.

fist 2(%ecx)

Integer Store and Pop (fistp)

fistp{l|ll}
Example

Convert the value in stack element 0 into a signed integer and transfer the result to register ECX with an offset of 2, then pop the stack.

fistp 2(%ecx)