Recently, I read the C++ of std::mov, and I thought of a question as the title.
Assume initial value following:
int a= 1;
int b= 2;
I think:
Situation 1,
after move (a <- b):
a= 2 , b=
b is null because moved
Situation 2,
after copy (a <- b):
a=2 , b=2
I know std::move of C++ is Situation 1
Which Situation is mov
( mov %b %a
) of Assembly lang.?
This is my question.