Messages in this thread | | | From | Mikael Klasson <> | Subject | RE: faster strcpy() | Date | Mon, 27 Apr 1998 10:28:02 +0200 |
| |
> > > 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
| |