4 ms·
Does anyone know the best way to run assembly code on Windows? As usual, I seem to recall this is one of the many things that is easy in Linux and almost impos
by 4thaccount 8y ago
Does anyone know the best way to run assembly code on Windows?
As usual, I seem to recall this is one of the many things that is easy in Linux and almost impossible on Windows.
- TACIXAT 8y agoThere are a lot of assemblers, but I've used MASM. It ships with visual studio. I think you can find the actual binary by searching for ml.exe or ml64.exe. Then you just write some MASM code and assemble it. It's less well documented but entirely possible.
- 4thaccount 8y agoThank you! I'll check!
- animal531 8y agoWell, since we're talking about NASM, go to https://www.nasm.us/ https://www.nasm.us/ and download the latest stable build for Windows.
- 4thaccount 8y agoDoes that use MINGW though and require you to build all that junk on Windows?
- jcelerier 8y agonasm is a single .exe
- pjmlp 8y agoIt is quite easy, specially since home computer Assemblers were historically more powerful than UNIX ones, with very expressive macros. Here is the relevant information for MASM. https://docs.microsoft.com/en-us/cpp/assembler/masm/microsoft-macro-assembler-reference?view=vs-2017 https://docs.microsoft.com/en-us/cpp/assembler/masm/microsof... And some game development references of yore http://win32assembly.programminghorizon.com/tutorials.html http://win32assembly.programminghorizon.com/tutorials.html