4 ms·
Is there a good Windows assembler that doesn't get flagged by anti-virus software? UPDATE: I just ran across JWAsm and haven't encountered any problems so far.
by xhrpost 14y ago
Is there a good Windows assembler that doesn't get flagged by anti-virus software?
UPDATE: I just ran across JWAsm and haven't encountered any problems so far. http://sourceforge.net/projects/jwasm/ http://sourceforge.net/projects/jwasm/
- xd 14y agohttp://www.nasm.us http://www.nasm.us
- swatkat 14y agoI haven't tried it; but how about Yasm? http://yasm.tortall.net/ http://yasm.tortall.net/ https://github.com/yasm/yasm/ https://github.com/yasm/yasm/
- xhrpost 14y agoThanks. Looks like it requires Visual Studio in Windows. Was hoping to find a simple "ASM" -> "Windows EXE" tool. I might try WinASM again at home.
- jlarocco 14y agoActually, Yasm doesn't require Visual Studio. To create .exe files you'll need a linker, but it works fine with ld.exe from MinGW. Going assembly straight to .exe sounds convenient for learning, but isn't very useful in practice, so not many assemblers implement it. The most common use case for assembly language these days is to write a few functions that get called from some higher level language, and that's done by having both the compiler(s) and assembler spit out object files that are linked together by the linker. I suspect WinASM is just hiding the steps, and it'd be easy enough to create a Makefile that did the same. The closest thing to assembly->exe that I know of is the "flat" binary output from Yasm. It's similar to really old DOS .com executables. I'm not sure they'll run on modern Windows, though.
- xhrpost 14y agoI'll have to look again, the JWasm needs a linker too. Sadly, I think it was the ld.exe from MinGW that I had problems with in the past :( . Yea, I'm really just doing this for the fun of it, not any actual needed reason. If the "flat" version you're talking about is the old 16-bit .COM format, then yes it will not work on modern 64-Bit windows. That was the first method I tried with an old version of MASM as it was really easy to assemble directly to a program back in my Assembly class days.
- jevinskie 14y agoCan you elaborate on what assemblers get flagged by what anti-virus software? I haven't heard that one before.
- xhrpost 14y agoI think it's due to heuristic checking. I just got flagged with the WinASM mentioned in the article and McAfee on my work machine deleted the EXE automatically. I've had similar issues in the past, I think with NASM.
- jevinskie 14y agoAssemblers are obviously only used for evil hacking purposes! =)
- Locke1689 14y agoHow about just writing CIL for the .NET CLR? It's fine if you just want to get used to assembly. Intro at: http://msdn.microsoft.com/en-us/magazine/cc301368.aspx http://msdn.microsoft.com/en-us/magazine/cc301368.aspx Ecma spec at: http://www.ecma-international.org/publications/standards/Ecma-335.htm http://www.ecma-international.org/publications/standards/Ecm...
- evincarofautumn 14y agoFASM[1] is quite good, particularly its macro system, and the Windows version includes a minimal IDE. FASM and MenuetOS[2] are both written entirely in FASM. [1]: http://flatassembler.net/ http://flatassembler.net/ [2]: http://menuetos.net/ http://menuetos.net/