> The next part is where I need more help in: how to convert this tree> into assembly language.>> * Is there any documentation on this part of writing a compiler?

You can download my book "Basics of Compiler Design" for free fromhttp://www.diku.dk/~torbenm/~Basics . It has chapters on type checking
and code generation, which should help you to get all the way from
syntax tree to symbolic aaembly language. I suggest you use existing
assemblers and linkers for generating binaries.

Mind you, the book describes principles and contains no code that you
can copy-paste into your own compiler. So, "some assembly required".