Advertisement
Advertisement
| 07.29.2008 at 05:46AM PDT, ID: 23603739 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: |
.global _start _start: # push an ASCII string onto the stack push $0x0a515151 push $0x51515151 push $0x51515151 push $0x51515151 movl $16, %edx # third argument: message length movl %esp, %ecx # second argument: stack pointer movl $1, %ebx # first argument: file handle (stdout) movl $4, %eax # system call number (sys_write) int $0x80 # exit movl $0,%ebx movl $1,%eax int $0x80 |