Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SECTION .DATA
- hello: db 'Hello World',10
- helloLen equ $-hello
- SECTION .TEXT
- GLOBAL say_hi
- say_hi:
- mov eax,4 ; write()
- mov ebx,1 ; STDOUT
- mov ecx,hello
- mov edx,helloLen
- ret ; Return control
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement