Re: 'as' mnemonics

Robert Plantz <[email protected]> Mon, 30 Oct 2006 15:29:46 -0800
Newsgroups org.kernel.vger.linux-assembly
Message-ID <1162250986.4749.20.camel@ubuntu>
First, go to Intel's website and download their manuals. The main one
you want is "Intel Architecture Software Developer's Manual, Volume 2:
Instruction Set Reference."

Then you can use Linux's "info as" to learn the at&t differences. Go to
Machine Dependencies->i386-Dependent. This will probably provide all the
information (plus a lot more) that you need.

Bob Plantz

On Mon, 2006-10-30 at 20:36 +0000, john d gray wrote:
> To: [email protected]
> From: john david gray <[email protected]>
> 
> Hello ,
>             I am working on a Pascal compiler. I have already changed the
> source code from Pascal to C { and this now works both in amigados, and
> in linux } where it produces 68000 assembler code { a68k } .
> { a68k uses at&t 's  left to right assembler : mov.l $567,reg }
> 
>             I am currently working on a version to produce {linux} x86
> output.
>  I have written a small library of routines { fgets fputs etc.} in
> {linux} x86 'as' code , and have the first 80% of the compiler complete.
> 
>              Now need some more information please as I need to convert
> { for example } 68000's seq sne exg etc to x86 'as' code.
>              Can you recommend somewhere I can download info on
>  gcc's 'as' mnemonics please ?
> 
> 
> Thanks
> John Gray (8^)>