Page 1 of 1

Converting from AT&T [Solved]

Posted: Sat Oct 31, 2009 7:26 am
by Andr3w
Hi,
I need help with converting this:
movl %es:2(%di), %eax
to Intel syntax.. ;)


UPDATE: removed colors

Re: Converting from AT&T [ASM]

Posted: Sat Oct 31, 2009 7:43 am
by fronty
That was very hard to read with dark theme. [-X

If I recall NASM's syntax correctly,

Code: Select all

mov eax, [es:di+2]

Re: Converting from AT&T [ASM]

Posted: Sat Oct 31, 2009 8:04 am
by Andr3w
fronty wrote:That was very hard to read with dark theme. [-X

If I recall NASM's syntax correctly,

Code: Select all

mov eax, [es:di+2]
Thank you!

Colors removed, sorry. #-o