data segment

include \nxdos\src\tbx_data.inc
data ends

code   segment
       assume cs:code, ds:data, es:data, ss:_stack
        jmp     start
include \nxdos\src\tbx_code.inc

MEM_FIRSTFIT_LOW EQU 0000h
start:  mov  ax, data  
        mov  ds, ax    
        mov  es, ax
main:
        mov  ax, 5801h
        mov  bx, MEM_FIRSTFIT_LOW
        int  21h

exit:   call dosexit
        int     20h
code ends

_stack     segment word stack 'STACK'
           db      0100h DUP (05h)
_stack     ends

     end  start
