public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Assembly statements in C/C++
@ 2003-02-13 17:56 Anant Aneja
  0 siblings, 0 replies; 3+ messages in thread
From: Anant Aneja @ 2003-02-13 17:56 UTC (permalink / raw)
  To: gcc-help

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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Assembly statements in C/C++
  2003-02-13 17:58 James Don
@ 2003-02-13 23:10 ` bjorn rohde jensen
  0 siblings, 0 replies; 3+ messages in thread
From: bjorn rohde jensen @ 2003-02-13 23:10 UTC (permalink / raw)
  To: gcc-help

Hi there,

  You might want to look at http://www.tldp.org/
they have wonderful guides on all sorts of funny
neat things including gcc inline assembly:)

Yours sincerely,

Bjorn

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Assembly statements in C/C++
@ 2003-02-13 17:58 James Don
  2003-02-13 23:10 ` bjorn rohde jensen
  0 siblings, 1 reply; 3+ messages in thread
From: James Don @ 2003-02-13 17:58 UTC (permalink / raw)
  To: 'anant@aneja.com', gcc-help

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-13 23:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-13 17:56 Assembly statements in C/C++ Anant Aneja
2003-02-13 17:58 James Don
2003-02-13 23:10 ` bjorn rohde jensen

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 read-only IMAP folder(s) and NNTP newsgroup(s).