Given how many embedded ports have #defines in external packages for
basic asms for instructions such as nop, enable/disable interrupts,
other system-level opcodes, etc... I think this is a bad idea.  Even
glibc would break.

#define enable() asm("eint")

__asm__ __volatile__ ("fwait");

Reply via email to