title: Stopping an assembly program from exiting and closing the console window
body: <pre><code>org 100h
  mov dx,msg
  mov ah,9
  int 21h
  mov ah,4Ch
  int 21h
  msg db 'Hello, World!',0Dh,0Ah,'$'
  </code></pre>
  
  <p>So, I have this simple "Hello, World!" program in assembly with a <code>.com</code> extension. Whenever I run it, the <code>Hello World!</code> does display, but it closes the window immediately after, not even after half a second! Is there any possible way to stop the program from exiting until you click the <code>X</code> button of the command prompt window? </p>