


program_end  macro
             mov     ah,0
             int     21h
             endm
;
inkey        macro
             mov     ah,1
             int     21h
             endm
;
printchar    macro   char
             mov     dl,char
             mov     ah,2
             int     21h
             endm
;
auxin        macro
             mov     ah,3
             int     21h
             endm
;
auxout       macro   char
             mov     dl,char
             mov     ah,4
             int     21h
             endm
;
lpt1         macro   char
             mov     dl,char
             mov     ah,5
             int     21h
             endm
;
keystat      macro
             mov     dl,ff
             mov     ah,6
             int     21h
             endm
;
keypress     macro 
             mov     ah,7
             int     21h
             endm
;
inkeyne      macro
             mov     ah,8
             int     21
             endm
;
prints       macro   string
             mov     dx,offset string
             mov     ah,9
             int     21h
             endm
;
readstr      macro   buffer
             mov     dx,offset buffer
             mov     ah,a
             int     21h
             endm
;
keystat2     macro
             mov     ah,b
             int     21h
             endm
;
clearkbd     macro   function
             mov     al,function
             mov     ah,c
             int     21h
             endm
;
disk_reset   macro
             mov     ah,d
             int     21h
             endm
;
select_disk  macro   number
             mov     al,number
             mov     ah,e
             int     21h
             endm
;
open_file    macro   fcb
             mov     dx,offset fcb
             mov     ah,f
             int     21h
             endm
;
close_file   macro   fcb
             mov     dx,offset fcb
             mov     ah,10
             int     21h
             endm
;
search1_file macro   fcb
             mov     dx,offset fcb
             mov     ah,11
             int     21h
             endm
;
searchn_file macro   
             mov     ah,12
             int     21h
             endm
;
delete_file  macro   fcb
             mov     dx,offset fcb
             mov     ah,13
             int     21h
             endm
;
read_disk    macro   fcb
             mov     dx,offset fcb
             mov     ah,14
             int     21h
             endm
;
write_disk   macro   fcb
             mov     dx,offset fcb
             mov     ah,15
             int     21h
             endm
;
create_file  macro   fcb
             mov     dx,offset fcb
             mov     ah,16
             int     21h
             endm
;
rename_file  macro   fcb
             mov     dx,offset fcb
             mov     ah,17
             int     21h
             endm
;
disk_stat    macro
             mov     ah,19
             int     21h
             endm
;
set_dta      macro   dta
             mov     dx,offset dta
             mov     ah,1a
             int     21h
             endm
;
alloct_addr  macro
             mov     ah,1b
             int     21h
             endm
;
random_read  macro   fcb
             mov     dx,offset fcb
             mov     ah,21
             int     21h
             endm
;
random_write macro   fcb
             mov     dx,offset fcb
             mov     ah,22
             int     21h
             endm
;
file_size    macro   fcb
             mov     dx,offset fcb
             mov     ah,23
             int     21h
             endm
;
Press <ENTER> 


    dx,offset fcb
             mov     ah,23
             int     21h
             endm
;
Press <EN