Hi, As part of my linux learning curve and development on the lego nxt I have written a small app using NASM. Although useless to most people, the program is well commented and demonstrates :-
*ELF structure
*processing command line arguments.
*Loading files.
*Creating files.
*Terminal output.
*basic makefile syntax
*terrible programming style.
Comments are welcome good or bad.
Graham
get the tarball here
http://www.dakoder.co.uk/nxtric.tar.gz