lkml.org 
[lkml]   [1998]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: faster strcpy()
Date
> > > I don't know c or i386 assembler, but there are string commands.  Would
> > one of
> > > them do it? I don't have my assembler book handy. Is there a store and
> > > continue while zero?
> >
> > No. There's "rep movsX" (where X is b/w/d) for moving data but that one
> > requires ecx to be initialized to the number of items to copy and
> > doesn't care much about what it's copying. A "lodsd" and "stosd"
>
> What about repnz? What do you think it does?

It's for use with cmpsX and scasX.

--
Mikael Klasson
fluff@geocities.com
http://fluff.home.ml.org


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.068 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site