flat assembler
Message board for the users of flat assembler.

Index > Main > fnop

Author
Thread Post new topic Reply to topic
michalll



Joined: 01 Mar 2007
Posts: 7
michalll
Does fnop pop the register stack?
Post 06 Feb 2008, 11:56
View user's profile Send private message Reply with quote
calpol2004



Joined: 16 Dec 2004
Posts: 110
calpol2004
it's a floating point unit instruction used to create a small delay between two floating point instructions.

I think it's there because of the pipeline (enables cpu to do multiple instructions at the same time..kind of) which under some circumstances messes up and processes parts of instructions in the wrong order, adding a small wait of a few cycles inbetween solves this.
Post 06 Feb 2008, 12:06
View user's profile Send private message MSN Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17270
Location: In your JS exploiting you and your system
revolution
FNOP does nothing except take up code space. It's in the manual.

As for where it might be useful, I have no idea.
Post 06 Feb 2008, 12:19
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.