feat: минимальное решение

This commit is contained in:
Miheev Egor
2024-10-30 22:37:36 +03:00
parent 2dbf24db50
commit dd6c23d79f
3 changed files with 78 additions and 0 deletions

21
08-debugging/testee.asm Normal file
View File

@ -0,0 +1,21 @@
global _start
section .data
msg: db "I'm alive", `\n`, 0
msg_len equ $-msg
section .text
_start:
xor rax, rax,
add rax, 1
add rax, 12
mov rax, 1
mov rdi, 1
mov rsi, msg
mov rdx, msg_len
syscall
mov rax, 60
mov rdi, 0
syscall