/* * brexit.c * * Author: Intel A80486DX2-66 * License: Creative Commons Zero 1.0 Universal */ #include __attribute__((naked)) __attribute__((noreturn)) _Noreturn void Brexit(void); __attribute__((naked)) __attribute__((noreturn)) _Noreturn void Brexit(void) { __asm__ volatile ( "movl $0x7F, %%ebx\n\t" "movl $1, %%eax\n\t" "int $0x80" : : : "eax", "ebx" ); } int main(void) { Brexit(); }