News:

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

Main Menu

Best assembler & linker for DOS which supports x86_64

Started by Maya, June 07, 2025, 08:22:13 PM

Previous topic - Next topic

Maya

Hi,

I'm working on a silly project which requires me to enter long mode in DOS. As a result I'm looking for an assembler & linker which runs on DOS but also supports x86_64 instructions.

Which assembler & linker do you think would suit this the best? NASM has DOS binaries but doesn't come with a linker. There is JWAsm and JWLink but I'm not sure which one is the "real" one as there are so many on the website - japheth.de, several GitHub repos and more. They all have different versions too.

Also sorry if this is the wrong forum, I wasn't sure if 16-bit forum or this would be more suitable as the question is about x86-64 but also DOS.

Thanks in advance,

Maya

sinsi

For long mode I use FASM for assembly (no linker required).
There are a couple of long mode debuggers too.

The only long mode programs you can easily do with ML64 are for UEFI.

_japheth

Quote from: Maya on June 07, 2025, 08:22:13 PMThere is JWAsm and JWLink but I'm not sure which one is the "real" one as there are so many on the website - japheth.de, several GitHub repos and more. They all have different versions too.

This is the current jwasm url: https://github.com/Baron-von-Riedesel/JWasm

JWasm doesn't need a linker for 32-/64-bit PE binaries.
Dummheit, gepaart mit Dreistigkeit - eine furchtbare Macht.