Luna/apps/app.asm

18 lines
249 B
NASM
Raw Normal View History

2022-12-23 12:09:21 +00:00
section .text
global _start
_start:
mov rax, 1
mov rdi, message
2022-12-23 12:09:21 +00:00
int 42h
mov rax, 1
mov rdi, message2
int 42h
mov rax, 0
int 42h
section .rodata
message:
db "Hello!", 0xa, 0
message2:
db "I am an app", 0xa, 0