:: Re: [DNG] OT: Assembly resources
Forside
Slet denne besked
Besvar denne besked
Skribent: Hendrik Boom
Dato:  
Til: dng
Emne: Re: [DNG] OT: Assembly resources
On Wed, Mar 02, 2016 at 08:55:20AM -0300, Emiliano Marini wrote:
> But be aware that gas is the one GCC uses for in-line assembly embedded in
> C programs. So, if you are planning to embed assembly instructions in C
> code, you will need to learn gas syntax.


I've always wondered how the C code generator manages not to get
confused between the registers I use and the ones it allocates.

-- hendrik