In this Post, Provide CS401 Assignment 3 Solution Spring 2021. Detail Correct CS401 Assignment 3 Solution 2021. Easy to See Download CS403 Assignment Solution PDF File.
CS401 ASSIGNMENT 3 SOLUTION SPRING 2021
Provide by VU Answer
Download File and Code SS Upload Below
CODE:
[org 0x100]
jmp start
oldisr:
dd 0
kbisr:
push ax
push es
mov ax,0xb800
mov es,ax
in al,0x60
cmp al,0x39
jne nextcmp
mov ah,06h
xor al,al
xor cx,cx
mov dx,1827h
mov bh,2eh
int 10h
jmp nomatch
nextcmp:
cmp al,0xb9
jne nomatch
mov ah,06h
mov cx,0027h
mov dx,184fh
mov bh,1eh
int 10h
nomatch:
; mov al,0x20
; out 0x20,al
pop es
pop ax
jmp far[cs:oldisr]
start:
xor ax,ax
mov es,ax
mov ax,[es:9*4]
mov [oldisr],ax
mov ax,[es:9*4+2]
mov [oldisr+2],ax
cli
mov word[es:9*4],kbisr
mov [es:9*4+2],cs
sti
l1:
mov ah,0
int 0x16
cmp al,13
jne l1
mov ax,0x4c00
int 0x21
SCREENSHOT 1:
SCREENSHOT 2:
SCREENSHOT 3:
0 Comments