DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Assembly (http://www.daniweb.com/forums/forum125.html)
-   -   NASM programming (http://www.daniweb.com/forums/thread157626.html)

serbanmm Nov 15th, 2008 11:11 pm
NASM programming
 
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

ithelp Nov 17th, 2008 2:34 am
Re: NASM programming
 
No one will do your homework .


All times are GMT -4. The time now is 3:28 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC