use unix fileformat
parent
af3debf5fd
commit
534a86f2d7
@ -1,15 +1,15 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
int i = 0xffff;
|
int i = 0xffff;
|
||||||
|
|
||||||
asm("movl $23, %0"
|
asm("movl $23, %0"
|
||||||
: "=r" (i) /* output */
|
: "=r" (i) /* output */
|
||||||
/* : no input */
|
/* : no input */
|
||||||
/* : no clobbered */
|
/* : no clobbered */
|
||||||
);
|
);
|
||||||
|
|
||||||
printf("i = %d\n", i);
|
printf("i = %d\n", i);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue