Converting from AT&T [Solved]

Programming, for all ages and all languages.
Post Reply
User avatar
Andr3w
Member
Member
Posts: 76
Joined: Tue Jun 09, 2009 4:09 am
Location: Somewhere

Converting from AT&T [Solved]

Post by Andr3w »

Hi,
I need help with converting this:
movl %es:2(%di), %eax
to Intel syntax.. ;)


UPDATE: removed colors
Last edited by Andr3w on Sat Oct 31, 2009 8:05 am, edited 2 times in total.
fronty
Member
Member
Posts: 188
Joined: Mon Jan 14, 2008 5:53 am
Location: Helsinki

Re: Converting from AT&T [ASM]

Post 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]
User avatar
Andr3w
Member
Member
Posts: 76
Joined: Tue Jun 09, 2009 4:09 am
Location: Somewhere

Re: Converting from AT&T [ASM]

Post 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
Post Reply