I want to use rep insw instruction. Operands for this instruction are predetermined. It looks like this:
rep insw (%dx),%es:(%rdi)
dx and rdiare general-purpose registers so I can freely modify them. What about es? It points to "extra data". I have never used it and I don't know what it means. It would be nice if I could set it to zero and rdi to linear address. Will something break if I set these (segment) registers to any value like general-purpose registers?