RE: Easiest & Hardest Programming Language? 03-12-2013, 03:34 AM
#40
AT&T syntax and Intel syntax represent the same thing, the difference being whether the operator or the operand should be provided first.
Intel syntax, operand first:
AT&T syntax ,of the exact same operation , operator first, explicitly state how much memory is being transferred:
Intel syntax, operand first:
Code:
mov ax, 5 ; AX = 0x0005AT&T syntax ,of the exact same operation , operator first, explicitly state how much memory is being transferred:
Code:
movw 5, %ax ; load up AX with 5, explicitly stating that 5 is a word and so is AX





![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)