News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

masm64 development

Started by Siekmanski, October 29, 2016, 06:55:08 PM

Previous topic - Next topic

Mikl__

bat-file for ml64
cls
set masm64_path=c:\masm64\
set filename=%1
if exist %1.exe del %1.exe
%masm64_path%bin\ml64 /Cp /c /I"%masm64_path%Include" %filename%.asm || exit
if exist %1.rc (
%masm64_path%bin\RC /r  %filename%.rc || exit
%masm64_path%bin\link /SUBSYSTEM:WINDOWS /LIBPATH:"%masm64_path%Lib" ^
/entry:WinMain %filename%.obj %filename%.res /LARGEADDRESSAWARE:NO ^
/ALIGN:16 /SECTION:.text,W ^
/BASE:0x400000 /STUB:%masm64_path%\bin\stubby.exe || exit
del %filename%.res
) else (
%masm64_path%bin\link /SUBSYSTEM:WINDOWS /LIBPATH:"%masm64_path%Lib" ^
/entry:WinMain %filename%.obj /LARGEADDRESSAWARE:NO ^
/ALIGN:16 /SECTION:.text,W ^
/BASE:0x400000 /STUB:%masm64_path%\bin\stubby.exe || exit
)
del %filename%.obj

Siekmanski

2 more:

EXPAND D:\packages\VisualC_D14\VC_Tools.X64.Nat\cab1.cab /f:dumpbin.exe_6qfeuaVcwqcOX84b7CsOhac1naE_x86 .
REN dumpbin.exe_6qfeuaVcwqcOX84b7CsOhac1naE_x86 dumpbin.exe
EXPAND D:\packages\VisualC_D14\VC_Tools.X64.Nat\cab1.cab /f:editbin.exe_09xhUyB35xyQiEddXA2YGxoeq8A_x86 .
REN editbin.exe_09xhUyB35xyQiEddXA2YGxoeq8A_x86 editbin.exe
Creative coders use backward thinking techniques as a strategy.