Hi all,
i using Microsoft (R) Macro Assembler Version 9.00.21022.08 (using visual studio 2008 command line prompt build enviroment - ml.exe) to assemble my asm file.
i want to assemble a 16 bit code (an mbr code) but it seems that masm always "push" extra code at the end of the file, the build command is:
ml /c /AT /omf Boot.S
were Boot.S is my assemble code file.
any help?
thanks.
Your build command is ok.
You have the 16-bit linker? If not, google for lnk563.exe
Quote from: jj2007 on June 04, 2010, 05:15:02 PMYou have the 16-bit linker? If not, google for lnk563.exe
msam32\bin\link16.exe should do it
Quote from: qWord on June 04, 2010, 05:17:56 PM
Quote from: jj2007 on June 04, 2010, 05:15:02 PMYou have the 16-bit linker? If not, google for lnk563.exe
msam32\bin\link16.exe should do it
Quote\masm32\bin>link16
Microsoft (R) Segmented Executable Linker Version 5.60.339 Dec 5 1994
Yep! I always thought I had manually installed it in that folder, but it seems to be part of the Masm32 package now. Thanks for reminding me :U
does any one know is link16 or lnk563 provided with visual studio, how and i make "link.exe" to use 16 bit addressing?
another thing - lnk563 won't run on my 64bit win 7 machine, even when i checked "windows 95" in the compatibility tab.
thanks
Win 95 won't help. You need XP mode, and that comes with the professional versions only...
Quote from: jj2007 on June 04, 2010, 05:39:53 PMYep! I always thought I had manually installed it in that folder
:bg I've also thought this a long time. IIRC link16 were added with masm32 v10.(?)
Quote from: Jonatan44 on June 04, 2010, 05:41:00 PM
does any one know is link16 or lnk563 provided with visual studio
no, it not part of visual studio.
Simply download the masm32 package.