Question about inline assembly for BUG()

From: Gerard Snitselaar
Date: Thu Mar 02 2006 - 15:17:26 EST


For the following asm will anything show up in the actual
code besides the ud2 opcode (0x0f0b) ? Is there any good references
for inline assembly besides "Brennan's Guide to Inline Assembly" ?
Thanks

#define BUG() \
__asm__ __volatile__( "ud2\n" \
"\t.word %c0\n" \
"\t.long %c1\n" \
: : "i" (__LINE__), "i" (__FILE__))

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/