Intel register naming

Paul92

I am puzzled about the register naming in intel architectures. Some sources present them as rax, for example, while other sources, including the dissasembly from objdump, as %rax. What is the meaning of that percent sign?

mikalai

There are two major syntax forms for x86 assembly language - Intel and AT&T, and percent sign indicates AT&T one, which is historically used in unix universe.

It's not only about naming. Operation arguments direction is reversed, addressing is a little different, and some other things.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related