Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Pointless instruction?

Name: Anonymous 2010-04-26 13:49

What does this x86 assembler instruction do?

lea  eax, [eax+0]

AFAIK this has no effect. Then what the hell did GCC generate this for? (in /O3 mode!)

Name: Anonymous 2010-04-26 16:13

It will calculate the star rating of the eax, replacing it with a value that is rounded to the nearest .25

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List