For compiling ANASM you will only need NASM .
If you have this , you have to use the following command :

nasm anasm.asm -f bin -o anasm.com

When there weren´t errors then you will have "anasm.com" .