Original Post
Hello all, i'm trying to recode some of my time critical code in assembler. After recoding it & profiling i noticed that three key instructions take 96% of time, namely 3 register-->memory writes: mov dword ptr [edi],edx ..change edi... mov dword ptr [edi],edx ..change edi... mov dword ptr [edi],edx I assume this must be a memory stall of some sort.I'm confused though, because i thought that since i dont reuse the value i'm writing, the procesor doesn't have to wait for the piece of data to be retrieved from memory (like in the case of a memory-->register read) - but it would just send it off - why does it still take so long ? What can i do about it ? Thanks for any clues, Mike