+1  A: 

That's the syntax used by the GNU assembler. The code itself should be (more or less) the same for any assembler; to make this build with the microsoft assembler, the main changes will be:

  • Change the @ characters (which denote comments) to ;
  • Change the directives (the words beginning with .) documented here to their Microsoft equivalents, documented here. For example .text becomes CODE.

This should fix most of the errors.

Mike Seymour