View Single Post
Old 2017-03-11, 02:55   #10
I moo ablest echo power!
wombatman's Avatar
May 2013

110110011012 Posts

I've been looking at various resources to try and understand assembly generally and the differences between x64 and aarch64 assembly. One bit I'm not understanding is the following--in pt64.s, the first line of the modsq64 function is:

 movq %r11,%rax
Now, my reading makes clear that this is copying a quad word (so, 64 bits) from register 11 to register a extended (or the accumulating register?). Now, my question is: is there something special about r11? Could it just as easily be "movq %r12, %rax" instead?
wombatman is offline   Reply With Quote