primeiro exemplo

This commit is contained in:
Blau Araujo 2025-05-14 11:42:35 -03:00
parent 52d1a2afbd
commit 348e041ff9
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
; Retorna 42 como estado de término
section .text
global _start
_start:
mov rax, 60 ; syscall: exit
mov rdi, 42 ; código de saída
syscall