I have problem with this code



call GetTickCount

mov ecx, 1000
div ecx


what?s wrong

Thanks, Ante
Posted on 2002-04-23 10:47:44 by ante
you must clear the edx register since div uses EDX:EAX for it's paramater
Posted on 2002-04-23 10:57:24 by Kudos