Remix.run Logo
saagarjha 13 hours ago

You'd need to run strlen first.

cesarb 6 hours ago | parent | next [-]

> 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?

muziq 3 hours ago | parent [-]

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

joezydeco 8 hours ago | parent | prev [-]

Real men just blast through memory until hitting a zero. If it's there at all.