EXE File Template

	
	.MODEL	SMALL	;Tell MASM we want the SMALL memory model
			;This means we have a separate 64k segment
			;for DATA, CODE, and STACK
	.CODE		;Indicates the start of the CODE segment
Start:			;just a label for where our code starts
	nop		;put the code for your program here
	mov ax, 4c00h	;setup registers for DOS terminate function
	int 21h		;invoke the DOS function
	.STACK		;Allocate a stack segment
			;EXE style program must have one
	END Start	; END tell MASM that's all
			; Start tells MASM the Entry Point of the program