ALP to print the length of a given string (64-bit)
kw.asm
Output
kodingwindow@kw:~$ nasm -felf64 kw.asm
kodingwindow@kw:~$ ld kw.o && ./a.out ——————————————————————————————————————————— ALP to print the length of given string ——————————————————————————————————————————— Enter the string KODINGWINDOW Length of string 00000012 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
ALP to reverse a given string (64-bit)
ALP to check whether a given string is palindrome (64-bit)
ALP menu-driven program to perform the string operations (64-bit)
Advertisement