Luna/apps/app.asm

18 lines
235 B
NASM
Raw Normal View History

2022-12-23 12:09:21 +00:00
section .text
global _start
_start:
mov eax, ecx
push rdx
mov eax, 1
mov edi, hello_world
mov esi, 14
int 42h
nop
section .rodata
hello_world:
db 'Hello, world!', 0xa, 0
section .bss
array:
resb 10