author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Mon, 05 Oct 2015 20:42:11 +0100 | |
changeset 395 | 60f64793266f |
child 396 | 2f4296a0ab21 |
permissions | -rw-r--r-- |
395
60f64793266f
added assembly programs
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
_main: |
60f64793266f
added assembly programs
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
2 |
push %ebp |
60f64793266f
added assembly programs
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
3 |
mov %esp,%ebp |
60f64793266f
added assembly programs
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
sub %0xc,%esp |
60f64793266f
added assembly programs
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
movl $0x3,0x8(%esp) |
60f64793266f
added assembly programs
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
movl $0x2,0x4(%esp) |
60f64793266f
added assembly programs
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
movl $0x1,(%esp) |
60f64793266f
added assembly programs
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
call 0x8048394 <foo> |
60f64793266f
added assembly programs
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
leave |
60f64793266f
added assembly programs
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
ret |