11538788b920e8a8af01043feaa2849b38bf3535
[pintos-anon] / grading / userprog / sc-bad-sp.c
1 #include <stdio.h>
2 #include <syscall.h>
3
4 int
5 main (void) 
6 {
7   printf ("(sc-bad-sp) begin\n"); 
8   asm volatile ("mov $0x20101234, %esp; int $0x30");
9   printf ("(sc-bad-sp) end\n"); 
10   return 0;
11 }