Article View: gnu.gcc.help
Article #50982C code --> m68k assembly code
From: Edwin Tsun
Date: Sun, 18 Jul 1993 20:45
Date: Sun, 18 Jul 1993 20:45
14 lines
997 bytes
997 bytes
Would I be able to convert C code to 68000 assembly code using gcc?
I read the man page for gcc but it didn't help a bit.
Is this correct: gcc -b m68000 -S test.c
--------------------------
For example:
main ()
{
register long i;
i=10;
}
I would like it to convert to : MOVE.L #$0A,Dx
--------------------------
This is what I am looking for. Can gcc do this?
Thanks in advance.
Technical Details
Message-ID:
<22ccq7INN4i0@charnel.ecst.csuchico.edu>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!news.dfn.de!darwin.sura.net!spool.mu.edu!olivea!charnel!etsunShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,13df56925f31ef5d,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-07-18 13:54:39 PST Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!news.dfn.de!darwin.sura.net!spool.mu.edu!olivea!charnel!etsun From: etsun@ecst.csuchico.edu (Edwin Tsun) Newsgroups: gnu.gcc.help Subject: C code --> m68k assembly code Date: 18 Jul 1993 20:45:59 GMT Organization: California State University, Chico Lines: 14 Distribution: gnu Message-ID: <22ccq7INN4i0@charnel.ecst.csuchico.edu> NNTP-Posting-Host: laibach.ecst.csuchico.edu