ALP to print the length of a given string (32-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 identify the Central Processing Unit (CPU) type (32-bit)
ALP to print the values of registers in protected mode (32-bit)
64-bit Assembly Programming
Advertisement