Finally resolved the inline asm problems I was having.