I hope I am not off-topic. This forum is about C++ and I would like to keep it that way. But since my problem is also related to an application which is further related to C++ development, I didn't think I would find expert opinion on this problem anywhere else. So here goes,
I am using Windows...
I am a Linux user as well but for I want to do this particular problem in Windows... I use Code::Blocks with MingW when I code in C/C++. However, I am learning to use assembly and most tutorials are related to TASM, which is propriety. I could use NASM or YASM, but few tutorials for them exist and their assembly structure is significantly different from TASM... So when I try to make object code using NASM for a TASM assembly file, I get several errors.
What I want to know is, since C++ needs to be translated to assembly first, does MingW come with a separate assembler which I can use?
Provided it does come with an assembler, it is my opinion that it would be TASM compatible since C++ is portable (hence needs to be translated to a more common assembly format). Just a hunch, really.
Mods, if you don't want me posting about assembly on this forum, please warn me, don't ban me... If it is a mistake, it would be my first one. :)
Gcc assembler is Gas. It's meant to be part of the compiler back-end not to be used by programmers so it isn't programmer-friendly
NASM is a very popular free assembler and you can find a lot of documentation/tutorials on the web
Yes thank you Bazzy. I finally decided to go with NASM, but the problems I am having while tying to make it work on a 64-bit Windows 7, I am thinking about running Linux on a x86 virtual machine and doing all the assembly work on that instead of Windows.
Thanks a lot. And NASM is great, only Windows is a lot more confusing than Linux. :p