0

http://en.wikipedia.org/wiki/X86_instruction_listings

how does the ffree instruction excatly works ? FFREE Free register when i have in FPU STack:

  st2 5 , st1 2, st0 7

then after these instruction(ffree) i have..

   st 1 5, st0 2

is that right?

Peter Cordes
  • 328,167
  • 45
  • 605
  • 847
Kamil Witkowski
  • 1,978
  • 1
  • 19
  • 33

1 Answers1

0

No, it clears the register without modifying the stack pointer. Whatever register you gave as an argument will be set as empty, but the others will be unchanged.

http://www.website.masmforum.com/tutorials/fptute/fpuchap3.htm#ffree

Jens Björnhager
  • 5,632
  • 3
  • 27
  • 47