Skip to content
Permalink
1d329d8eca
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
17 lines (14 sloc) 436 Bytes
global _start
section .data
msg db "Hello, word!", 0x0a
len equ $ - msg
section .text
_start:
mov eax, 4 ; sys_write system call
mov ebx, 1 ; stdout file descriptor
mov ecx, msg ; bytes to write
mov edx, len ; numbeer of bytes to write
int 0x80 ; perform system call
mov eax, 1 ; sys_exit system call
mov ebx, 0 ; exit status 0
int 0x80 ; perform system call