;; This version uses Call5 'Program Termination'.
;;========================================================60
;; File: PROLOG  .NSM  By: s_dubrovich@yahoo.com
;; Last: 06-Apr-11 08:39:30 PM
;; Prev: 01-Feb-10 09:40:01 PM,06-Mar-10 10:22:52 AM
;; Init: 10-Jan-10 10:11:21 PM
;; Vers: 0r4
;; Note: Prolog to small-c
;;========================================================60
;; --== Define COM Code Section ==--
;;========================================================60
  [MAP ALL CURRFILE.MAP]
  [SECTION .cseg vstart=0100h]
Start:
  mov  sp, Stk_Top ;; 0FFF0h  ;; at top of segment
  call main  ;; czmain - small-c v. 10-Jan-10, start label.

  mov  ah, 0
  int  16h   ;; pause for keypress
;-;  int  19h   ;; reboot
  mov  cx, 0
  call 5		;; Call5 'program termination'.

;;========================================================60
;; --== Define Data Section as following Code Section ==--
;; -= F I R S T   D A T A =-
;;========================================================60
  [SECTION .dseg vstart=(0100h + EOcseg)] ;; first .dseg
SN_CTRL:  DB  0,0,0,0,0,0,0,0  ;; - S/N, or Control Number -

;;========================================================60
;; - =   E O   P R O L O G   = -
;;========================================================60

8:50 PM 4/6/2011