If you check a sibling thread you'll see I also had some issues with Gas macro capabilities.
Has Gas understanding of Intel syntax meanwhile improved? It had a few bugs when I did this.
I ported the five examples from an IBM Developerworks article on x86 assembler [0] and they all worked fine, but didn't fool around much beyond that.
http://madscientistlabs.blogspot.ca/2013/07/gas-problems.htm...