.globl main
main:
jmp ONE
TWO:
#open
popl %ebx
mov $0x5, %al
xorl %ecx, %ecx
int $0x80
#read
xorl %edx, %edx
inc %edx
mov %esp, %ecx
mov %eax, %ebx
mov $0x3, %al
int $0x80
mov %ebx, %esi
#write
mov $0x4, %al
mov $0x1, %bl
int $0x80
#close
mov $0x6, %al
mov %esi, %ebx
int $0x80
#exit
mov $0x1, %al
xorl %ebx, %ebx
int $0x80
ONE:
call TWO
.string "/home/defolos/Desktop/test"