0 votes
in General Knowledge by (773k points)
What does the mov instruction do?

When using mov, the ____, _____, and ____ all must match.

What does movq %rax, %rbx do?

1 Answer

0 votes
by (773k points)
 
Best answer
The mov instruction copies a value from one location (operand 1) to another location (operand 2).

Instruction suffix, size of operand 1, and size of operand 2 must all match. This is consistent with what the compiler expects on both sides of the equals sign in C.

Copies 8 bytes from rax to rbx.
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.
...