Code: Select all
mov ax,201h
mov bx,SETOR
mov cx,1
mov dx,0
int 13h
LEA DI,[SETOR+3EH]
MOV SI,CODE
MOV CX,1C0h
REP MOVSB
mov ah,8
mov dl,0h
mov di,0
push es
mov es,di
INT 13H
pop es
;push cx
;push dx
sub cl,6
;lea bx,[setor+3Eh]
mov bx,SETOR
mov ax,301h
mov dl,0h
int 13h
;pop dx
;pop cx
mov bx,SETOR
mov ax,301h
mov cx,1
mov dh,0
mov dl,0h
INT 13H
ret
CODE:
xor ax,ax
mov ss,ax
mov ds,ax
mov es,ax
mov sp,7C00h
mov di,600h
mov si,7c00h
mov cx,512
cld
rep movsb
push ax
push 61Ch
retf
cli
IN AL,64H
...