|
@ -1,4 +1,4 @@ |
|
|
all: lab1-ex0.exe lab1-ex1.exe |
|
|
|
|
|
|
|
|
all: lab1-ex0.exe lab1-ex1.exe lab1-ex3.s |
|
|
|
|
|
|
|
|
lab1-ex0.exe: defines.h lab1-ex0.s |
|
|
lab1-ex0.exe: defines.h lab1-ex0.s |
|
|
gcc -m32 -g -o lab1-ex0.exe lab1-ex0.s |
|
|
gcc -m32 -g -o lab1-ex0.exe lab1-ex0.s |
|
@ -10,6 +10,10 @@ lab1-ex1.exe: lab1-ex1.c |
|
|
strace -c ./lab1-ex1.exe |
|
|
strace -c ./lab1-ex1.exe |
|
|
echo "watch the interrupts in linux" |
|
|
echo "watch the interrupts in linux" |
|
|
more /proc/interrupts |
|
|
more /proc/interrupts |
|
|
|
|
|
|
|
|
|
|
|
lab1-ex3.s: lab1-ex3.c |
|
|
|
|
|
echo "show .s files" |
|
|
|
|
|
gcc -m32 -S lab1-ex3.c |
|
|
|
|
|
|
|
|
clean: |
|
|
clean: |
|
|
rm lab1-ex0.exe lab1-ex1.exe |
|
|
|
|
|
|
|
|
rm lab1-ex0.exe lab1-ex1.exe lab1-ex3.s |