Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ masm
Hi all, I have a problem!!!
I have format my computer and reinstall visual studio (I have both Professional and Express) and I tried to build a little masm program, but when I click on properties of the project I found "Microsoft Macro Assembler" missing.
Is there any way to get it back??? Is there way to reinstall MASM again within visual studio??
 
Please help!!! I need answer quickly!!
 
thanx previously.
Posted 18-Jan-13 4:01am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

If you reloaded your computer, you will also need to reinstall MASM. You can find the installer here[^].
  Permalink  
Comments
Rasool Ahmed at 18-Jan-13 10:17am
   
I already download it, but the setup tells me to install visual c++ express 2005 edition, and I have installed, but the MASM installer run and disappear without doing anything.
But if you see at this link you will find the requirements requires windows xp but my windows is 7, maybe this problem??
H.Brydon at 18-Jan-13 17:36pm
   
Well that makes it a bit messy.
 
C++ express 2005 seems to be available at http://www.microsoft.com/en-us/download/details.aspx?id=804
 
I would think that XP is the minimum Windows version and Win XP vs Windows 7 should not be a problem.
 
I would expect that installing MASM for VS2005 would make it available for your version of VS. If installing VS2005 after whatever version you have, don't check the "install symbols" box or your default VS will be VS2005 express. If this happens, the easiest fix is to reinstall your newer VS (ie. after VS2005).
H.Brydon at 20-Jan-13 9:57am
   
This also might be helpful:
 
http://www.codeproject.com/Articles/271627/Assembly-Programming-with-Visual-Studio-2010-2012
http://www.codeproject.com/Articles/410776/Integrating-a-compiler-assembler-in-VS-Using-NASM?msg=4453471#xx4453471xx
 
(second link says that MASM is integrated with VS2012; I didn't know that and don't know whether it comes with other versions).
Rasool Ahmed at 20-Jan-13 10:22am
   
I don't know what to tell you?, MASM property has back from its own. I didn't anything!! In past the MASM property in project properties wasn't showed up, but now it is!!???
However, I have compiled a little program but an error occured: "error MSB3721: The command "ml.exe /c /nologo /Zi /Fo"Debug\main.obj" /W3 /errorReport:prompt /Tamain.asm" exited with code 1."
what's that mean?
Rasool Ahmed at 20-Jan-13 10:23am
   
Here is the source code:
include 'win32ax.inc'
 
_hello db 'Hello World',0
 
_title db 'Hello World! from KernelRoot',0
 
main:
call MB
 
push 0
 
call [ExitProcess]
 
;============ MB function ==================
MB:
push 0
 
push _hello
 
push _title
 
push 0
 
call [MessageBox]
 
ret
;============ End MB ========================
.end main
Rasool Ahmed at 20-Jan-13 10:24am
   
It works in FASM.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 359
1 _Amy 230
2 OriginalGriff 220
3 Manfred R. Bihy 190
4 Andreas Gieriet 180
0 OriginalGriff 7,495
1 Sergey Alexandrovich Kryukov 6,402
2 Maciej Los 3,849
3 Peter Leow 3,568
4 CHill60 2,702


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100