RosettaCodeData/Task/Hello-world-Standard-error/X86-Assembly/hello-world-standard-error.x86

16 lines
288 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
section .data
msg db 'Goodbye, World!', 0AH
len equ $-msg
section .text
global _start
_start: mov edx, len
mov ecx, msg
mov ebx, 2
mov eax, 4
int 80h
mov ebx, 1
mov eax, 1
int 80h