My first linux ASM code
- SECTION .data
- msg db "hello world",10
- len dw 12
- SECTION .text
- global start
- start:
- mov eax,4 ; the 'write' syscall
- mov ebx,1 ; on stdout
- mov ecx,msg ; the string
- mov edx,len ; its length
- int 0x80 ; interrupt
- mov eax,1 ; exit syscall
- mov ebx,0
- int 0x80 ;
Wooh!!! soon i will be reversing apps. nhahahaaa
Labels: linux, programming