AT&T syntax Assembler tutorial

AT&T syntax Assembler tutorial

Post by Bora Ertun » Sun, 12 Jul 1998 04:00:00



Hi,

Do you know any good tutorial or book on AT&T syntax Assembler
language? please let me know if you do.

thanks for advance
Bora,

 
 
 

AT&T syntax Assembler tutorial

Post by a.. » Mon, 13 Jul 1998 04:00:00



> Hi,

> Do you know any good tutorial or book on AT&T syntax Assembler
> language? please let me know if you do.

Assuming you already know Intel syntax x86 assembler then the
gas info pages (included with GNU binutils) include a short, but
usable documentation about the differences.

-Andi

 
 
 

AT&T syntax Assembler tutorial

Post by Jochen K"upp » Wed, 15 Jul 1998 04:00:00




> > Do you know any good tutorial or book on AT&T syntax Assembler
> > language? please let me know if you do.

> Assuming you already know Intel syntax x86 assembler then the

But if I don't ?

Quote:> gas info pages (included with GNU binutils) include a short, but
> usable documentation about the differences.

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K"upper


  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------

 
 
 

1. inline assembler error - porting Intel syntax to AT&T syntax

// Intel syntax
void x( int *p ) {
  int example;
  __asm {
    mov esi, p
    mov  [ esi ], ebx
    mov [example], eax
   }

I'm porting the code to GCC, but got error

I couldn't access the data which *p points to, and got error like this:
    - error, undefined reference to `p'
I couldn't access varible example, and got error like this:
    - error, undefined  reference to `example'

and no error if it is a global varible

Can someone help me?

2. Apache/mod_perl: perl.conf

3. where to download "AT&T System V/386 assembler syntax manual"

4. "umsdos" vs "vfat" vs "looped ext2"

5. AT&T Assembler Syntax

6. ISDN/Red Hat 5.1

7. AT&T assembler syntax ?

8. Startup videomode

9. intel Syntax -> AT&T Syntax

10. AT&T asm syntax but not IBM asm syntax?

11. Grep-ing for Constants (Re: Assembler Syntax...)

12. PA-RISC assembler tutorial

13. i386 UNIX 'as' Assembler syntax