Description
section .data msg db "Enter a string" msglen equ $-msg section .bss name resb 15 section text global _start start: mov rax, 1 mov rdi, 1 mov rsi,msg mov rdx,msglen syscall mov rax, mov rdi, o mov rsi,name mov rdx, 15 syscall mov rax, 1 mov rdi, 1 mov rsi, name mov rdx, 15 syscall mov rax,60 mov rdx, 0 syscall Output Enter a string Hello [Execution complete with exit code 1]
Procedure
- Connect Pin-1 (Input & Output) of ICBase-3 to Output-2.