|
From: Dirk M. <dm...@gm...> - 2003-11-27 12:26:41
|
On Thursday 27 November 2003 13:02, Nicholas Nethercote wrote: > 1. What is the point of "rep lods"? AFAICT, it loads multiple words from > the address pointed to by %esi into %eax. I think you can quickly scan for a 0 byte/word/dword this way. the REP instructions became quite unpopular lately as doing it the "normal" ways is meanwhile faster with recent CPUs rather than using the REPxx stuff. Afaik no compiler generates those sequences anymore, so you'll only hit in very old applications that contain 5 year old assembler sequences. As long as nobody complains, don't bother. |