piston/packages/nasm/2.15.5/test.nasm.asm

16 lines
176 B
NASM
Raw Normal View History

2021-03-13 13:04:46 +01:00
SECTION .DATA
good: db 'OK',10
txtlen: equ $-good
SECTION .TEXT
GLOBAL _start
_start:
mov eax,4
mov ebx,1
mov ecx,good
mov edx,txtlen
int 80h
mov eax,1
mov ebx,0
int 80h