; ; SHELL.ASM ; ; A Shell for creating an assembly program ; Program description goes here ; ; ; Your Name Here ; ECE291 Spring 2001 ; The Date Here ; ;============= Declare external references =========== EXTERN dosxit ; from LIB291.LIB ;============= Declare public procedures ============= GLOBAL ;============= Define stack segment ================== SEGMENT stkseg STACK resb 256*8 ; 2 Kbytes of stack space stacktop: ;============= Define constants ====================== CR EQU 0Dh ; carriage return LF EQU 0Ah ; linefeed ;============= Code segment begins ==================== SEGMENT code ;============= Define global variables ================ db dw ;============= Procedures go here ===================== ..start: mov ax,cs mov ds,ax ; set up data segment ; your program here!!! call dosxit ; terminate program