Well, for one, the compiler doesn't know that the inline assembly instructions are violating the ISA. The assembler does. The compiler driver first invokes the compiler, which lowers the C code to assembly code. During this phase, it simply sticks the inline assembly at the right spots. (1/3)

Comments