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! :-)
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! :-)
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.
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.