Курсовая работа: Програми – аналоги DOS-програм ren, xcopy
call process_directory
no_dirs:
ret
process_files endp
;;;;;;;;
;process_files
;;;;;;;;
;;;;;;;;
;process_commandline
;;;;;;;;
process_commandline proc
mov si,80h
mov al,[si]
cmp al,0
je params_error
add si,2
mov di,offset filename_1
name_1:
lodsb
cmp al,20h
je stop_name1
cmp al,13
je params_error
stosb
jmp name_1
stop_name1:
mov di,offset filename_2
name_2:
lodsb