Pasue Console Application At End
===

I want to know how it is possible to pause a console application at end and by pressing enter, it ends in assembely. here is a peice of code which shows "hello world" on screen, but it will close immediatly. So how to pause program at end?

    .386
    .model flat,stdcall
    option casemap:none
    
    include windows.inc
    include kernel32.inc
    
    .data
    sConsoleTitle  db "Console Application",0
    sWriteText  db "Hello World",0
    .code
    
    Main PROC
    	LOCAL hStdout :DWORD
    	invoke SetConsoleTitleA, offset sConsoleTitle
    
    	invoke GetStdHandle, STD_OUTPUT_HANDLE
    	mov hStdout,EAX
    
    	invoke WriteConsoleA, hStdout, offset sWriteText, 16d, 0, 0
    	invoke ExitProcess, 0
    
    Main ENDP
    end Main

