MIPS assembly on Visual Studio 2013 -
i looking way program mips assembly using vs2013 - there no assembly type project. there way , .s output files of mips can later run them on other machines, , if can't on vs2013 how program mips on windows 7?
thanks
the assembler used in visual studio microsoft assembler (masm), , yes can program assembly language on it.
select "empty project" configure "build customizations" of project use masm, after add new c++ source file , rename name .asm
here detailed steps:
http://kipirvine.com/asm/gettingstartedvs2013/index.htm
and assembling code run on mips, i guess can't masm, because it's x86 assembler, here list of supported processor types directives on masm
.386 .386p .387 .486 .486p .586 .586p .686 .686p .k3d .mmx .xmm
refer https://msdn.microsoft.com/en-us/library/vstudio/8t163bt0%28v=vs.100%29.aspx processor section.
nevertheless, there option in project "properties" > "linker" > "advanced" let chose between different machines, including mips, guess merely set machine flag in pe header mips , when assembler try build module find conflict between machine type flag , code in module. but i'm not sure if can build codes mips.
Comments
Post a Comment