If you need to export parts or models from Autodesk Inventor assembly files (.iam) to ISO STEP product data files (.step) you will either have to use the original software or some 3rd party alternative with Inventor's file format support. Autodesk Inventor itself is most likely the best choice for this, but it is likely that you more software capable of iam to step conversion exist.
Open IAM file Open STEP fileA CAD viewer program with conversion capabilities
A CAD converter with huge format support
A CAD visualizaton, analyzation and translating system
A dedicated CAD converter