In one of the Assembly
classes(I am using Assembly x86_64 - intel flavor, with NASM assembler, Linux) which I took last year, the lecturer has mentioned one Assembly instruction that does basically what the function memcpy(3)
does just with one single instruction.
For some unknown reasons, I can't remember or find(even I was looking after it for a very long time) that instruction, and I need to use it in my current project. It is extremely crucial to my project.
I would love to get some help with that.
Thanks all.
(BTW: The function memcpy(3) is the function void *memcpy(void *dest, const void *src, size_t n);
declarated in the header string.h
in libc.