This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Assembly statements in C/C++
- From: James Don <JDon at spacebridge dot com>
- To: "'anant at aneja dot com'" <anant at aneja dot com>, gcc-help at gcc dot gnu dot org
- Date: Thu, 13 Feb 2003 12:58:56 -0500
- Subject: RE: Assembly statements in C/C++
If you have Linux source tree look up the file head.S for your processor ...
should be examples there I think with necessary headers etc ;-)
-----Original Message-----
From: Anant Aneja [mailto:anant@aneja.com]
Sent: Thursday, February 13, 2003 12:49 PM
To: gcc-help@gcc.gnu.org
Subject: Assembly statements in C/C++
Hello everybody.
How does one write assembly statements in gcc.
in turbo c i used statements like
asm int 0x19
etc to call interuppts and other such assembly stuff.
how can this be done in gcc ?
Anant