I'm a newbie of Win32ASM.

I'm conflicted with the speed of these instructions,
What is faster?

1. mov ecx,100
rep movsd


2. movsd
movsd
movsd
..... (100 times)


3. mov eax,dword ptr
mov dword ptr ,eax



Thank you for reading this foolish question.
Have a nice day! :-)
Posted on 2001-11-26 07:01:27 by newbie
one common tip:

put a call to "QueryPerformanceCounter" before and behind the code,
and calc the delta of time. So you can measure the behavior of
the code on your system.
Posted on 2001-11-26 08:26:33 by beaster