> Is it possible to read a value from a register and use the result in > the program? Sure is. > I have read through the docs but cant see a mention of such a > feature. Have a look at (gcc)Extended Asm. Regards, Martin