masm编译及editplus命令

    技术2022-05-11  68

    1.设置环境变量

    path中加入;d:/masm32/bin

     

    2.编译连接命令

    Ml /c /coff xx.asm

    Link /subsystem:windows xx.obj yy.lib zz.res (普通PE文件)

    Link /subsystem:console xx.obj yy.lib zz.res (控制台文件)

    Link /subsystem:windows /dll /def:aa.def xx.obj yy.lib zz.res (DLL文件)

    3.editplus中的设置ml:D:/masm32/bin/ml.exe /c /coff $(FilePath)$(FileDir)

    link:D:/masm32/bin/link.exe/subsystem:windows $(FileNameNoExt).obj$(FileDir)

    run:$(FileNameNoExt).exe $(FileDir) 


    最新回复(0)