Empty directory: Difference between revisions
m
→{{header|8086 Assembly}}
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
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.
mov ds,ax ;load the segment register DS with the segment of dirname
mov dx,offset dirname ;load into AX the offset of dirname
|