	PAGE	,132  ; (CTRL-OH)   IBM PC PRINTER CONDENSED MODE
	TITLE	SKELEXE - SAMPLE.EXE STYLE ROUTINE FOR DOS 1.1 AND ABOVE
DSEG	SEGMENT PARA PUBLIC 'DATA'

;insert data here

DSEG	ENDS

CSEG	SEGMENT PARA PUBLIC 'CODE'
	ASSUME CS:CSEG,SS:STACK 	;ALREADY SET BY DOS LOADER

ENTPT	PROC	FAR			;ENTRY POINT FROM DOS
	PUSH	DS			;SET UP THE STACK TO HAVE
	XOR	AX,AX			; THE DOUBLE WORD VECTOR SO THE
	PUSH	AX			;  FAR RETURN WILL GO BACK TO DOS

	MOV	AX,DSEG 		;SET UP ADDRESSABILITY TO
	MOV	DS,AX			; THE DATA SEGMENT
	ASSUME	DS:DSEG 		;TELL ASSEMBLER WHAT I JUST DID

;insert code here

	RET				;RETURN TO DOS
ENTPT	ENDP
CSEG	ENDS

STACK	SEGMENT PARA STACK 'STACK'
	DB	64 DUP("STACK   ")      ;256 WORD STACK AREA
STACK	ENDS
	END	ENTPT
