Hello! I need to do a program in NASM language and I have no idea how to do it! The problem is the following:

Write a NASM program that does the following:
(i) prompts the user to input a line,
(ii) detects if the input line contains โ€˜ end.โ€™, and
(iii) if so, echoes the line up to the first instance ofโ€˜ end.โ€™ and returns control to the kernel; otherwise repeats all over again at (i).
Assemble your program using the NASM assembler and run the resulting executable. Debug the program until it works correctly. Submit a correctly working version of your NASM program along with its output illustrating its correctness.


Thanks in advance for your answers!

PLS. give me the program code....to study and understand more easier this language! Thanks

No one will do your homework .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.