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