View Single Post
Old 2017-03-11, 03:06   #11
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

6,079 Posts
Default

Quote:
Originally Posted by wombatman View Post
Now, my question is: is there something special about r11? Could it just as easily be "movq %r12, %rax" instead?
You can freely choose any registers with MOV. R11 has no special functionality, it is just another register. For that matter, RAX has no special functionality, it is just another register also. But there are some special instructions that target particular registers, e.g LODSQ will target RAX and source from RSI.
retina is offline   Reply With Quote