assembly language at&t. Is it possible to not use the register RAX when using arithmetic and logic data of variables?

Viewed 24

I am new to assembly language.

Is I wrong my understanding of this?

var1 and var2 have the type QWORD and are define in data. section

addq %var1, %var2

var2 = var1 + var2

Or is the result inside of RAX?

0 Answers
Related