mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-27 05:40:17 +05:30
C: jokes/brexit.c: C99: change asm
to __asm__
This commit is contained in:
parent
9e3d804e6e
commit
4e08a91184
@ -9,7 +9,7 @@ void Brexit(void) __attribute__((noreturn));
|
|||||||
|
|
||||||
__attribute__((noreturn))
|
__attribute__((noreturn))
|
||||||
void Brexit(void) {
|
void Brexit(void) {
|
||||||
asm volatile (
|
__asm__ volatile (
|
||||||
"movl $0x7F, %%ebx\n\t"
|
"movl $0x7F, %%ebx\n\t"
|
||||||
"movl $1, %%eax\n\t"
|
"movl $1, %%eax\n\t"
|
||||||
"int $0x80"
|
"int $0x80"
|
||||||
|
Loading…
Reference in New Issue
Block a user