how do I pause the program so it doesn't just disappear instantly?

Recommended Answers

All 3 Replies

The usual approach seems to be to wait for a key press.

thanks! I now have this simple program

start: ; The CODE entry point to the program

print chr$("Hey, this actually works.",13,10)
int 16h
exit

; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««

end start ; Tell MASM where the program ends

it does display the message however it also throws an exception or something at the end

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.