Use nasm preprocessor to write clean x86 asm
Why should you use the nasm preprocessor ? Writing assembly is a tedious work.
Some of my greatest issues with assembly language programming are
the lack of names for local variables the need to write the same assembly code repetitively (for instance function’s prologue an epilogue) and the lack of data structures. These are three good reasons to learn a preprocessor language when you learn to write assembly and there are a lot of others like the need to adapt the code to the cpu features, or the need to generate large portions of code (like declaring an array of 1024 bytes filled with ones), etc.
Exploring the arcane of processors