A89: Re: Inline Assembly with GCC


[Prev][Next][Index][Thread]

A89: Re: Inline Assembly with GCC




Found here:
http://www.delorie.com/gnu/docs/gcc/gcc_toc.html

A little basic stuff:
http://www.delorie.com/gnu/docs/gcc/gcc_86.html

Constraints (look for Motorola 680x0):
http://www.delorie.com/gnu/docs/gcc/gcc_167.html

 / Niklas Brunlid
Check out Prosit for the TI-89 / TI-92+ at http://prosit.ticalc.org
Random PQF Quote follows:

"Have another drink, not-Corporal Nobby?" said Sergeant Colon unsteadily.
"I do not mind if I do, not-Sgt Colon," said Nobby.
        -- The joys of working undercover
           (Terry Pratchett, Guards! Guards!)

----- Original Message ----- 
From: "Scott Dial" <wrath@calc.org>
To: "A89" <assembly-89@lists.ticalc.org>
Sent: Tuesday, April 25, 2000 11:39 PM
Subject: A89: Inline Assembly with GCC


> 
> Somebody here is bound to be able to answer this question, regardless of
> how badly I ask it. Does anyone have any good documentation on the asm()
> directive? Like when you specify outputs or inputs like asm("foo" : "=g"
> (to) : "g" (from)). What do the constraints mean "f" means float, "g" is
> global? "r" means register? I am just guessing here because the GCC
> documentation doesn't talk about it.
> 
> -- 
> Scott "_Wrath_" Dial
> wrath@calc.org
> ICQ#3608935
> Member of TCPA - tcpa.calc.org
> _____________________________________________
> NetZero - Defenders of the Free World
> Click here for FREE Internet Access and Email
> http://www.netzero.net/download/index.html




Follow-Ups: References: