Download Solution File of CS401 Assignment 3 2021 | Virtual University
Program:
[org 0x0100]
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 ax, 0600h
mov bh, 20h
mov cx, 0000h
mov dx, 1827h
int 10h
nextcmp:
cmp al, 0xB9
jne nextcmp1
mov ax, 0600h
mov bh, 17h
mov cx, 0040h
mov dx, 184Fh
int 10h
nextcmp1:
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
rs:
mov ah,0
int 0x16
cmp al,13
jne rs
mov ax,4C00h
int 21h
; end here
ScreenShot:
Download File: |
Click Here |
---|
nasm error a rhi plz help
ReplyDeletenasm file download kro or assignment file k folder mein extract kro
Delete