Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

removing an FPU stack element

Hey yet again,

this should be an easy question: say that we do some calculations on the FPU and we are left with two things on the stack, some trash-intermediate result in ST0 and the result we want in ST1. How could we trash the value from ST0 so that it is removed from the stack?

I guess the correct thing to do would be to play with the FPU stack pointer, just don't know how it's called and what exactly should I do to it.
Sign In or Register to comment.