FBSTP           Store BCD and pop                    Exceptions: I
C3 C2 C1 C0: ? ? * ?
FBSTP destination

Logic destination ← ST
pop ST

FBSTP converts the value in ST into a packed decimal integer (BCD),
and stores the result at the specified memory destination. It then
pops the stack.
If ST contains a non-integral value, FBSTP rounds it according to
the RC field of the control word.


Opcode Format
DF /6 FBSTP m80


Timing
Operand 8087 287 387 486 Pentium
m80 (520-540)+EA 520-540 512-534 172-176 148-154 NP