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: PPC GCC Inline assembly help


eija_flight wrote:

> 
> Basically, I am building a tool to test the registers, so I need to know
> exactly what register I am accessing into. The first method are ok, but then
> I need to write by hand all the registers one by one. By the mean of second
> method, I've planned to set the register by using function arguments, so the
> constraints immediate value is what the passed variables have. Do you have
> the best solution in mind regarding this matters? and please explain or give
> me the link, so I can go through it.

What you need here really doesn't need to be written with gcc's inline assembly,
does it?  I'd write this tool in assembly language.

Andrew.


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