This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]