RE: Easiest & Hardest Programming Language? 03-12-2013, 04:30 AM
#41
(03-12-2013, 03:34 AM)w00t Wrote: AT&T syntax and Intel syntax represent the same thing, the difference being whether the operator or the operand should be provided first.
Perhaps, but this was not what he was talking about in the first place. He was talking about the difference in the syntax, not what they represent... So I think your debate with him is irrelevant.
(03-12-2013, 03:34 AM)w00t Wrote: Intel syntax, operand first:
Code:mov ax, 5 ; AX = 0x0005
AT&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
As shown by you here. And his comment here:
Quote:The hardest is Assembly but there are many syntax the easiest for me is Intel syntax and the hardest is AT&T.
So I'm not sure what you're trying to prove to the guy here?
-- cxS
[ Haskell/.NET/C/C++ - Software Engineer ]