+ Link For Assignments, GDBs & Online Quizzes Solution |
+ Link For Past Papers, Solved MCQs, Short Notes & More |
Tags:
+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)
+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)koi b nhi ha jis k subject cs401 ho
admin team kahn ha koi to bta dooo kuchh
isko closekr k rerun krein
[org 0x0100]
jmp Start
oldisr:dd 0 ; space for saving old sir keyboardinterrupt service routine
kbisr;
push ax
push es
moy ax, 0xb800
moy es, ax
in al, 0x60
cmp al, 0x31
jne nextcmp
moy byte [es:2],'M'
moy byte [es:4],'A'
moy byte [es:6],'H'
moy byte [es:8],'A'
moy byte [es:10],'M'
jmp nomatch ;leave interrupt routine
nextcmp:
cmp al, 0xB1 ; is the key n is release
jne nomatch ; no, leave interrupt routine
moy byte [es:2],'' ; yes, print space at top left
moy byte [es:4],''
moy byte [es:6],''
moy byte [es:8],''
moy byte [es:10],''
nomatch:
pop es
pop ax
jmp far [cs:oldisr] ; call the original ISR
Start:
xor ax, ax
moy es, ax
moy ax, [es:9*4]
moy [oldisr], ax
moy ax, [es:9*4+2]
moy [oldisr+2], ax ;save segment of old routine
cli ; disable interrupts
moy word [es:9*4], kbisr ;store offset at n*4
moy [es:9*4+2],cs ;store segment at n*4+2
sti
exit:
moy ah, 0
int 0x16
moy ax, 0x4c00
int 0x21
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.
We are user-generated contents site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post