RosettaCodeData/Task/Hello-world-Text/X86-Assembly/hello-world-text-1.x86
2015-11-18 06:14:39 +00:00

15 lines
285 B
Text

section .data
msg db 'Hello world!', 0AH
len equ $-msg
section .text
global _start
_start: mov edx, len
mov ecx, msg
mov ebx, 1
mov eax, 4
int 80h
mov ebx, 0
mov eax, 1
int 80h