News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

masm 10 vs 11

Started by bomz, January 22, 2013, 09:45:06 AM

Previous topic - Next topic

bomz

I am not install it. I find ml64 in cab files
FL_ML64_EXE_*********************

frktons

Quote from: bomz on January 22, 2013, 11:49:33 AM
I am not install it. I find ml64 in cab files
FL_ML64_EXE_*********************
I don't know if that FL_ML64_EXE_ is what you are looking for.
Usually ML.EXE comes with Visual Studio or the SDK for your Operating
System.
There are only two days a year when you can't do anything: one is called yesterday, the other is called tomorrow, so today is the right day to love, believe, do and, above all, live.

Dalai Lama

bomz

I am looking for FL_ML_EXE_*********** and can't find it in any cab files :(

qWord

Even if you could extract ml.exe, it won't run because there are several DLLs and a EXE that are also needed. Further more you need the corresponding VC++ redistributable package.
Install visual studio (c++ is needed) and then search and copy the following files in the Microsoft Visual Studio XX\VC\bin and Microsoft Visual Studio XX\Common7\IDE folders:
lib.exe
link.exe
ml.exe
msobj110.dll
mspdb110.dll
mspdbcore.dll
mspdbsrv.exe
msvcr110.dll

(this are the files that needed for version 11 (110))
MREAL macros - when you need floating point arithmetic while assembling!

bomz


Try it tomorrow. yearly morning already

Magnum

There are a lot of native Russians programmers at winasm.net.

Their English is better than most.

Hutch,

For many languages, I think Google is doing a best guess.




Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

hutch--

 :biggrin:

Now you know why I don't bother.  :P

jj2007

Quote from: bomz on January 22, 2013, 10:38:42 AM
JWASM don't know ELSEIF  :redface:

You mean this?

.if eax
  nop
.elseif ; error
  print
.endif

The "blank" .elseif without arguments is a syntax error, it should be .else
Unfortunately, ML.exe tolerates this error. Just replace all .elseif in your source with .else, then fix the few errors.

All my sources assemble just fine with JWasm, even the RichMasm editor which is currently at 15,000+ lines. So go ahead and use JWasm, it's a very good software.

bomz

I try to compile one my long code and error occurs ELSEIF
QuoteProject.asm(1016) : Error A2199: Syntax error in control-flow directive
Project.asm: 2905 lines, 1 passes, 422 ms, 0 warnings, 1 errors

There has been an error while assembling this project.

Quote
1016  ---             .ELSEIF

Studio 2012 need Windows 7 with framework 4.5 (?) so I ask C programers for this file list and waiting

jj2007

Quote from: bomz on January 22, 2013, 07:59:55 PM
1016  ---             .ELSEIF

.ELSEIF is bad code, the correct syntax is .ELSE

The IF is used only with arguments:
.ELSEIF eax==123 || edx==456

bomz

yes. it's incorrect

Quoteinvoke SendMessage,hwndCheckBox2,BM_GETCHECK,NULL,NULL
            .IF eax == BST_UNCHECKED
               add ProxySocks, 6
               mov SocksFlag, 1
            .ELSEIF
               mov SocksFlag, 0
            .ENDIF

jj2007

Quoteinvoke SendMessage,hwndCheckBox2,BM_GETCHECK,NULL,NULL
            xor edx, edx
            .IF eax == BST_UNCHECKED
               add ProxySocks, 6
               inc edx
            .ENDIF
            mov SocksFlag, edx

Shorter & faster. And forget .ELSEIF without arguments, it's not proper assembler.

bomz

this is not last error or possible optimisation in 2900 line code.

masm11 + ml.exe 8.0.50727.104 is enough. but interesting try very last version with YMMWORD

http://msdn.microsoft.com/ru-ru/library/vstudio/ee404743%28v=vs.100%29.aspx

Magnum

Quote from: qWord on January 22, 2013, 12:42:11 PM
Even if you could extract ml.exe, it won't run because there are several DLLs and a EXE that are also needed. Further more you need the corresponding VC++ redistributable package.
Install visual studio (c++ is needed) and then search and copy the following files in the Microsoft Visual Studio XX\VC\bin and Microsoft Visual Studio XX\Common7\IDE folders:
lib.exe
link.exe
ml.exe
msobj110.dll
mspdb110.dll
mspdbcore.dll
mspdbsrv.exe
msvcr110.dll

(this are the files that needed for version 11 (110))

I found that one other thing is necessary.

In mspdbsrv.exe

7c9011f9 0f85f7ec0000    jne     ntdll!RtlDeactivateActivationContextUnsafeFast+0x28

change to                         jne     loc_401449FindMe

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

qWord

Quote from: Magnum on January 22, 2013, 11:39:33 PMI found that one other thing is necessary.

In mspdbsrv.exe

7c9011f9 0f85f7ec0000    jne     ntdll!RtlDeactivateActivationContextUnsafeFast+0x28

change to                         jne     loc_401449FindMe
:dazzled:
MREAL macros - when you need floating point arithmetic while assembling!