; put name here

; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
STACKSEG    SEGMENT   STACK  'STACK'

             dw     500h  dup (?)

STACKSEG    ENDS
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DATASTUFF    SEGMENT   PUBLIC  'DATA'

       ; 1 = signed, 2 = unsigned, 3 = binary
       ; 4 = hex, 5 = ascii 
       ; 90h = signed, A0h = unsigned, B0h = binary
       ; C0h = hex, D0h = ascii 

ax_byte      db  2
bx_byte      db  2
cx_byte      db  2
dx_byte      db  2
si_byte      db  2
di_byte      db  2
bp_byte      db  2
sp_byte      db  2

; + + + + + + + + + + + + + + + START DATA BELOW THIS LINE

; + + + + + + + + + + + + + + + END DATA ABOVE THIS LINE

DATASTUFF    ENDS
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CODESTUFF    SEGMENT   PUBLIC  'CODE'

       ; **************  ASMHELP.OBJ  INFO

       EXTRN  show_regs:NEAR , show_regs_and_wait:NEAR
       EXTRN  set_reg_style:NEAR , set_count:NEAR
       EXTRN  set_blue:NEAR , get_continue:NEAR
       EXTRN  set_timer:NEAR, kill_timer:NEAR
       
       EXTRN  get_num:NEAR ,            print_num:NEAR 
       EXTRN  get_string:NEAR ,         print_string:NEAR
       EXTRN  get_ascii_byte:NEAR  ,    print_ascii_byte:NEAR
       EXTRN  get_ascii:NEAR  ,         print_ascii:NEAR
       EXTRN  get_hex_byte:NEAR ,       print_hex_byte:NEAR
       EXTRN  get_hex:NEAR ,            print_hex:NEAR 
       EXTRN  get_binary_byte:NEAR ,    print_binary_byte:NEAR
       EXTRN  get_binary:NEAR ,         print_binary:NEAR
       EXTRN  get_bcd:NEAR   ,          print_bcd:NEAR
       
       EXTRN  get_signed_byte:NEAR ,    print_signed_byte:NEAR
       EXTRN  get_unsigned_byte:NEAR ,  print_unsigned_byte:NEAR
       EXTRN  get_signed:NEAR ,         print_signed:NEAR
       EXTRN  get_unsigned:NEAR ,       print_unsigned:NEAR 
       EXTRN  get_signed_4byte:NEAR ,   print_signed_4byte:NEAR
       EXTRN  get_unsigned_4byte:NEAR , print_unsigned_4byte:NEAR
       EXTRN  get_signed_8byte:NEAR ,   print_signed_8byte:NEAR
       EXTRN  get_unsigned_8byte:NEAR , print_unsigned_8byte:NEAR

       ; **************  END ASMHELP.OBJ  INFO
          
       ASSUME cs:CODESTUFF, ds:DATASTUFF

; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

main   proc far

start: push  ds               ; set up for return
       sub   ax,ax
       push  ax

       mov   ax, DATASTUFF    ; load ds
       mov   ds,ax

; + + + + + + + + + + + + + + + START CODE BELOW THIS LINE

; + + + + + + + + + + + + + + + END CODE ABOVE THIS LINE

       ret

main   endp
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

; + + + + + + + + + + + + START SUBROUTINES BELOW THIS LINE

; + + + + + + + + + + + + END SUBROUTINES ABOVE THIS LINE

CODESTUFF    ENDS
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
       END     start

