I can't get an assembly language program used as an example in the book Guide to Assembly Language: A Concise Introduction by James T. Streib to run. I'm using Visual Studio 2015. I'm following these instructions: http://www.jtstreib.com/VStudio13.html I've gone through all the steps as described in that guide, but the program still won't run. Trying to assemble it, I get this error:
LNK2019 unresolved external symbol _printf referenced in function _main
LNK1120 1 unresolved externals
The source code:
.386
.model flat, c
.stack 100h
printf proto arg:ptr byte
.data
msg byte "Hello World!", 0Ah, 00h
.code
main proc
invoke printf, addr msg
ret
main endp
end