section .data
name db "inpput your name", 0ah
namelen equ $-name
section .bss
msg1 resb 30
msg1len equ $-msg1
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, name
mov rdx, namelen
syscall
mov rax, 0
mov rdi, 0
mov rsi, msg1
mov rdx, 30
syscall
mov rax, 1
mov rdi, 1
mov rsi, msg1
mov rdx, msg1len
syscall
mov rax, 60
mov rdi, 0
syscall
To embed this project on your website, copy the following code and paste it into your website's HTML: