* 'as' mnemonics
@ 2006-10-30 20:36 john d gray
2006-10-30 23:29 ` Robert Plantz
0 siblings, 1 reply; 2+ messages in thread
From: john d gray @ 2006-10-30 20:36 UTC (permalink / raw)
To: linux-assembly
To: linux-assembly@vger.kernel.org
From: john david gray <johndgray2003@tiscali.co.uk>
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^)>
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: 'as' mnemonics
2006-10-30 20:36 'as' mnemonics john d gray
@ 2006-10-30 23:29 ` Robert Plantz
0 siblings, 0 replies; 2+ messages in thread
From: Robert Plantz @ 2006-10-30 23:29 UTC (permalink / raw)
To: john d gray; +Cc: linux-assembly
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: linux-assembly@vger.kernel.org
> From: john david gray <johndgray2003@tiscali.co.uk>
>
> 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^)>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-30 23:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 20:36 'as' mnemonics john d gray
2006-10-30 23:29 ` Robert Plantz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).