AT&T | Intel | |
Register | %RAX | RAX |
Operand location | MOV source, destination | MOV destination, source |
Operand size | b(byte), w(word), l(long) | BYTE ptr, WORD ptr, DWORD ptr(long) |
Constant | $3 | 3 |
Address | $variable | variable |
Value | variable | [variable] |
Indirect reference | (%RAX) 16(%RAX) | [RAX] [RAX+16] |
Instruction | 1. LJMP/LCALL $section, $offset 2. lret $stack-adjust 3. cbtw 4. cwtl 5. cwtd 6. cltd | 1. JMP/CALL far section:offset 2. ret far stack-adjust 3. cbw 4. cwtd 5. cwd 6. cdq |