ALP to print the given string using macro (64-bit)
kw.asm
Output
kodingwindow@kw:~$ nasm -felf64 kw.asm
kodingwindow@kw:~$ ld kw.o && ./a.out ——————————————————————————————————————————— ALP to print the given string ——————————————————————————————————————————— Enter The String KODINGWINDOW Given string is KODINGWINDOW ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
ALP to print the length of a given string (64-bit)
ALP to reverse a given string (64-bit)
ALP to check whether a given string is palindrome (64-bit)
Advertisement