There is an alternative that can sometimes be much more convenient: inline assembly in Delphi (for which there is a free Community Edition available).
This is great for learning assembly programming because you can code all the 'surroundings' for your assembly-language fragments (test setup, visualisation, benchmarking, threading ...) in an easy to learn high-level language. Plus, you have everything you need in a single IDE, including debugger.
Last but not least, you can step through the machine code for any Pascal/Delphi code you have, in order to see how the compiler does things, for inspiration. The Delphi compiler isn't exactly the brightest bulb on the planet - meaning you will see inexplicable redundancies and inefficiencies in the machine code that no self-respecting C/C++ compiler (or assembly programmer) would dream of getting caught with - but it gets the job done.
Free Pascal and/or Lazarus might offer similar functionality. I don't know them because over the last 30 years I've always had a reasonably current professional edition of Turbo Pascal, Borland Pascal or Delphi at my disposal, and so I never needed the free Open Source alternatives.