You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
intermezzOS has used Intel notation so far because that's what nasm expects. However, some books prefer AT&T notation, and this is what objdump disassembles to by default. AT&T is a bit nosier than Intel, but it has (in my opinion) a nicer order of operands. For example, mov %eax, %ebx copies the contents of eax into ebx. The equivalent in Intel notation is mov ebx, eax.
The text was updated successfully, but these errors were encountered:
Which assembly notation should we use?
intermezzOS has used Intel notation so far because that's what nasm expects. However, some books prefer AT&T notation, and this is what objdump disassembles to by default. AT&T is a bit nosier than Intel, but it has (in my opinion) a nicer order of operands. For example,
mov %eax, %ebx
copies the contents of eax into ebx. The equivalent in Intel notation ismov ebx, eax
.The text was updated successfully, but these errors were encountered: