new folder asm

This commit is contained in:
root 2026-06-01 04:49:01 +03:00
parent 020be27e57
commit 2f5ea78196
4 changed files with 19 additions and 0 deletions

1
asm/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
l1.o

1
asm/README.md Normal file
View file

@ -0,0 +1 @@
Ой нееее зря я сюда полез

17
asm/l1.asm Normal file
View file

@ -0,0 +1,17 @@
section .data
msg db 'Hello, World!', 0xa ; Перенос строки и данные на новой строке
len equ $ - msg
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, msg
mov rdx, len
syscall
mov rax, 60
xor rdi, rdi
syscall

BIN
asm/output/l1 Executable file

Binary file not shown.