exemplos da aula 7

This commit is contained in:
Blau Araujo 2025-05-26 08:04:03 -03:00
parent 05ef406060
commit c142033bf7
3 changed files with 234 additions and 0 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