mouse@mcgill-vision.UUCP (der Mouse) (06/27/87)
In article <830@omepd>, mcg@omepd (Steven McGeady) writes: > 1. Traditional Mechanism > If the keyword 'asm' is seen, immediately followed by a parenthesis > and a quoted string, e.g.: > asm("movq g0,r0"); > then the quoted string is stripped of the quotes and emitted [into > the assembly output of the compiler]. What's astonishing is how primitive the implementation of this sometimes is. We were very surprised to find that asm(".asciz \"foo\""); didn't work. It inserted .asciz \ into the assembly output and then complained about foo! The thing inside parentheses was not even being parsed as a string token; it was being copied at about as low a level as possible. der Mouse (mouse@mcgill-vision.uucp)