section .data
     msg db "Enter Name", 0ah
    msgLen  equ $-msg  
    %macro wr 4
    mov rax,%1  ;  read syscall	
	mov rdi,%2  ; keyboard
	mov rsi,%3 ;variable
	mov rdx,%4 ; variable length in bytes
	syscall
%endmacro

section .bss			
    msg1 resb 30

section .text
    global _start

_start:
wr 1,1,msg,msgLen
wr 0,0,msg1,20
wr 1,1,msg1,20

    ;mov rax, 1
   ; mov rdi, 1
    ;mov rsi, msg
   ; mov rdx, msgLen
    ;syscall
     ;mov rax, 0
    ;mov rdi, 0
    ;mov rsi, msg1
    ;mov rdx, 20
    ;syscall
    ;mov rax, 1
    ;mov rdi, 1
    ;mov rsi, msg1
    ;mov rdx, 20
    ;syscall
    
    mov rax, 60
    mov rdi, 0
    syscall

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: