HSE,
I think you was going to write a book about assembly, using LaTEX !!!
Sure, but you wouldn't be the first.

Paul Carter did this many years ago. You can download his book
here. There are also versions in: French, German, Spanish, Italian, Korean, and Chinese, whatever you want.
Unfortunately, Paul Carter did not use BIBTEX at that time. But the book still gives quite a good impression about LATEX.
Gunther