Mail Archives: djgpp/1997/11/24/06:18:33
On Sun, 23 Nov 1997, Speed wrote:
> So it is equivalent to a 'rep movsl'? (assuming, of course, the source,
> dest, and count are already set)
It's not equivalent, that's *exactly* what it does (except that if the
count is not an integer multiple of 4, it moves the rest with movesb).
You might consider downloading the DJGPP library sources
(v2/djlsr201.zip) so you could look there by yourself whenever such
questions arise.
In addition, if the size is known at compile time, gcc will generate an
inline loop instead of calling the library function, this saving the
overhead of the call.
- Raw text -