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.