Revert Intel-style assembly back to AT&T-style.
[pintos-anon] / src / tests / userprog / sc-bad-sp.c
index 8c42298d7df40149e343cf326ef408cb262913fb..2ae20e96d01cd63b2f421feb1786af2fcb40f9db 100644 (file)
@@ -4,6 +4,6 @@
 void
 test_main (void) 
 {
-  asm volatile ("mov %esp, 0x20101234; int 0x30");
+  asm volatile ("movl $0x20101234, %esp; int $0x30");
   fail ("should have called exit(-1)");
 }