What is that file created by the nasm when I "compile" it?

1

I compiled an assembly code in the nasm using "nasm.exe -f win64 program.asm -o program.o" and got more doubts than anything else.

My intention in doing this simple program is to take a pure code, assembly, and make it executable and so pass it through a debugger like Immunity dbg and if really what I programmed is actually "LITERAL" when it interacts with the CPU.

I did this and could not execute this program. I searched the internet and said I need to "link" - what would that be? - with minGW and I did it. But I'm still more doubtful, why is this minGW in the middle of it? What is the purpose of that obj file?

I'm using windows 10 and am a curious, just. In addition to finding almost nothing in assembly for windows 10.

Sorry if the question is stupid, but I can not find explanations about it even in English, maybe I'll do another post in English to cover more people.

    
asked by anonymous 07.12.2018 / 15:55

0 answers