Professional Documents
Culture Documents
Cs 401
Cs 401
CS401
[org 0x0100]
jmp start
start:
;cls
mov al, 0
mov cx, 0
mov dx,184Fh
INT 10h
;nme
INT 10h
mov ah, 09h
INT 21h
;id
INT 10h
INT 21h
;st
INT 10h
INT 21h
xor ax, ax
mov es, ax
cli
sti
l1: jmp l1
kbisr: push ax
push es
mov es, ax
in al, 0x60
jne nextcmp
mov bh,00h
mov dl, 13
INT 10h
INT 21h
jmp nomatch
jne nomatch
mov dl, 13
INT 10h
INT 21h
out 0x20, al
pop es
pop ax
iret
INT 21h