Empty directory: Difference between revisions

m
Line 13:
=={{header|8086 Assembly}}==
{{trans|MS-DOS}}
; this routine attempts to remove the directory and returns an error code if it cannot.
 
 
<lang asm>mov ax,seg dirname ;load into AX the segment where dirname is stored.
<lang asm>; this routine attempts to remove the directory and returns an error code if it cannot.
 
<lang asm>mov ax,seg dirname ;load into AX the segment where dirname is stored.
mov ds,ax ;load the segment register DS with the segment of dirname
mov dx,offset dirname ;load into AX the offset of dirname
1,489

edits