I am using Visual Studio 2013 and am attempting to write "raw" assembly. I'm just starting to learn assembly so I don't know too much about it but I'd like to write assembly if possible without wrapping it in C/C++ or any other languages.
I have a file main.asm with the following code that I am trying to get running. I am just looking to confirm that I can get an asm program running so that I can play with the code as I read how assembly works.
.MODEL FLAT
.code
neg eax
add eax,5 ;eax = eax -5
END
When compiling, I am getting the following errors:
Error 1 error LNK2001: unresolved external symbol _main
Error 2 error LNK1120: 1 unresolved externals
How can I resolve this and get an understanding of what is occurring?