QUESTION 5 ;:Consider the following x64 assembly code data myName db "My name is Michael. What is yours?" bss yourName db 10 text global _start start: mov rax, 1 mov rdi, 1 mov rsi, myName mo...
QUESTION 5 ;:Consider the following x64 assembly code data myName db "My name is Michael. What is yours?" bss yourName db 10 text global _start start: mov rax, 1 mov rdi, 1 mov rsi, myName mov rdx, 35 syscall mov rax, 0 mov rdi, 1 mov rsi, yourName mov rdx, 10 syscall mov rax, 60 mov rdi, 0 syscall This program prints on the monitor screen the string "My name is Michael. What is yours?" and then exits. This program prints on the monitor screen the string "My name is Michael. What is yours?" and then waits for the user input. This program prints on the monitor screen the string "What is your name?"and then waits for the user input This program runs successfully but does not do anything.
QUESTION 5 ;:Consider the following x64 assembly code data myName db "My name is Michael. What is yours?" bss yourName db 10 text global _start start: mov rax, 1 mov rdi, 1 mov rsi, myName mov rdx, 35 syscall mov rax, 0 mov rdi, 1 mov rsi, yourName mov rdx, 10 syscall mov rax, 60 mov rdi, 0 syscall This program prints on the monitor screen the string "My name is Michael. What is yours?" and then exits. This program prints on the monitor screen the string "My name is Michael. What is yours?" and then waits for the user input. This program prints on the monitor screen the string "What is your name?"and then waits for the user input This program runs successfully but does not do anything.