0

i used one register in my inline asm. when i compare the asm codes with and without clobber, i dont see any different between them. so, what exactly does clobber do?

2
Contributors
1
Reply
3
Views
7 Years
Discussion Span
Last Post by thines01
0

I saw a forum with this statement

The clobber list tells gcc which registers (or memory) are changed by
the asm, but not listed as an output.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.