http://proton.scs.carleton.ca/~sivarama/linux_book/asm_programs.zippoke around and you'll fine the examples and code there too.