Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> You'd need to run strlen first.

I might be a bit rusty in my x86 assembly, but wouldn't "repnz movsb" be the x86 strcpy opcode, for zero-terminated strings?



Not a thing unfortunately; you can only use the rep prefix with movable.


movsb doesn’t set any flags, so no, it isn’t..




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: