ok....................
plz share the solution of cs401 assignment no.03 .........!due date is 11-06-2012View more random threads:
- mth301 assignment # 2 2011
- Today Aquarius Daily Horoscope 6th February 2016
- cs504 solution required
- Cs101 BLOCEKD
- CS301 assignment 2 need it C++ using stacks
- Need ACC501 - Business Finance Assignment No 2 Solution.
- Fin622 GDB required
- past paper of zero semester
- I have not got books so unable to solve the assignment...
- Solution required for CS402 assignment # 1 fall 2011
Sponsored Links
ok....................
Code:; show scancode on external LEDs connected through parallel port [org 0x0100] jmp start oldisr: dd 0 ; space for saving old ISR ; keyboard interrupt service routine kbisr: push ax push dx in al, 0×60 ; read char from keyboard port mov dx, 0×378 out dx, al ; write char to parallel port pop ax pop dx jmp far [cs:oldisr] ; call original ISR start: xor ax, ax mov es, ax ; point es to IVT base mov ax, [es:9*4] mov [oldisr], ax ; save offset of old routine mov ax, [es:9*4+2] mov [oldisr+2], ax ; save segment of old routine cli ; disable interrupts mov word [es:9*4], kbisr ; store offset at n*4 mov [es:9*4+2], cs ; store segment at n*4+2 sti ; enable interrupts mov dx, start ; end of resident portion add dx, 15 ; round up to next para and keyboard comprisan code for this problems are e = 0×012 r= 0×13 f= 0×21 s=0x1f
There are currently 1 users browsing this thread. (0 members and 1 guests)