piston/tests/test.nasm

17 lines
179 B
NASM
Raw Normal View History

SECTION .DATA
good: db 'good',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