I'm writing a compiler and I have gone through all the steps (tokenizing, parsing, syntax tree structures, etc.) that they show you in all the compiler books. (Please don't comment with the link to the "Resources for writing a compiler" question!).
I have chosen to use NASM together with alink as my backend.
Now my problem is: I just can't find any good resources for learning NASM and assembly in general.
The wikibook (german) on x86 assembly is horrible. They don't even explain the code they write there, I currently can't even get simple things like adding 1 to 2 and outputting the result working.
- Where can I learn NASM x86 assembly?