enter a string

Shirish
Shirish Singh
Created on May 15, 2023 0 0 0
enter a string
100%

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

  1. Connect Pin-1 (Input & Output) of ICBase-3 to Output-2.