Working code in 32-bit
include \masm32\include\masm32rt.inc
.code
start proc public
print "Hello World"
invoke ExitProcess,0
start endp
end
Access violation with 64-bit
include \masm32\include64\masm64rt.inc
.code
start proc public
print "Hello World"
invoke ExitProcess,0
start endp
end
The problem seems to be that the 64-bit print macro just passes the arguments to szmulticat but there is only one argument.
Quote from: sinsi on November 14, 2018, 01:11:07 AM
Working code in 32-bit
include \masm32\include\masm32rt.inc
.code
start proc public
print "Hello World"
invoke ExitProcess,0
start endp
end
Access violation with 64-bit
include \masm32\include64\masm64rt.inc
.code
start proc public
print "Hello World"
invoke ExitProcess,0
start endp
end
The problem seems to be that the 64-bit print macro just passes the arguments to szmulticat but there is only one argument.
Hi sinsi,
http://masm32.com/board/index.php?topic=6408.msg81259#msg81259 (http://masm32.com/board/index.php?topic=6408.msg81259#msg81259)
Look in the help file under the title MACROS - CONSOLE FUNCTIONS.
"conout" is very flexible and it is easy to use.