View Single Post
  #8  
Old 09-04-2009, 10:12
DABhand DABhand is offline
Banned
 
Join Date: Nov 2004
Location: Near my PC
Posts: 5,406
Thanks: 0
Thanked 3 Times in 3 Posts
DABhand is on a distinguished road
Quote:
Originally Posted by Caliber View Post
mov [esi+0000061c],3b9ac9ff
mov ecx,[esi+0000061c]

is NOT the same as:

mov ecx, 3b9ac9ff

because [esi+0000061c] is holding the float value which declines as time goes on. I don't know if this code snippet has the actual DEC of the float in it but it's better to write to the [esi+0000061c] directly what you want it to be than to rely on the ecx register to carry the new value...
Damn there goes my plan to see if he knew ASM O_o