x86 Assembly Language Reference Manual

Packed Decimal (BCD) Store and Pop (fbstp)

fbstp
Example

Convert the value in stack element 0 to a packed decimal integer and store the result in register ECX with an offset of 2, and pop the stack.

fbstp 2(%ecx)