section .data
mensaje db "Hola Mundo :)", 10, "desde emsamblador", 10
section .text
global _start
_start:
mov rax, 1 ;sys_write
mov rdi, 1 ;salida en pantalla
mov rsi, mensaje ;lo que quiero imprimir
mov rdx, 32 ;longitud en bytes de la impresion
syscall ;llamada al sistema
; Liberar el sistema
mov rax, 60 ;sys_exit
mov rdi, 0 ;sin errores
syscall
To embed this project on your website, copy the following code and paste it into your website's HTML: