+92 307 4151718 vuassassins@gmail.com

CS401 – Computer Architecture and Assembly Language Programming

In CS401 Computer Architecture and Assembly Language Programming we have you covered with Digitized Past Papers From Fall of Mid Term and Final Term.

NOTE: Tab/Click on Preparation Tab to take the MCQ’s Tests.

FINAL TERM
CS401_FINALTERMSOLVEDMCQSBYMOAAZ            View     Download
CS401_FINALTERMSOLVEDSUBJECTIVE                  View     Download
MID TERM
CS401_Mid_2011_Mcqs_Moaaz_Paper1                       View     Download
CS401_Mid_2011_Mcqs_Moaaz_Paper3                       View     Download
CS401_Mid_2012_Sbj_Moaaz_Paper2                          View     Download
FINAL QUIZ PREPARATION BY JAHANZAIB ASHIQ

Quiz Cat: No Quiz found

Quiz Cat: No Quiz found

Quiz Cat: No Quiz found

Quiz Cat: No Quiz found

Quiz Cat: No Quiz found

POSTED DATE:27-01-2019            IDEA SOLUTION

[org 0x0100]
jmp start

old_isr: dd 0
kb_isr:
push ax
push es
mov ax, 0xb800
mov es, ax
in al, 0x60
cmp al, 0x1E
jne no_match
mov byte [es:0], ‘B’
mov byte [es:2], ‘B’
mov byte [es:4], ‘B’
mov byte [es:6], ‘B’
mov byte [es:8], ‘B’
mov byte [es:10], ‘B’
mov byte [es:12], ‘B’
mov byte [es:14], ‘B’
jmp exit
no_match:
;pop es
;pop ax
;jmp far [cs:old_isr]
exit:
pop es
pop ax
jmp far [cs:old_isr]
mov al, 0x20
out 0x20, al
pop es
pop ax
iret
start:
xor ax, ax
mov es, ax
mov ax, [es:8*4]
mov [old_isr], ax
mov ax, [es:8*4+2]
mov [old_isr+2], ax
cli
mov word [es:8*4], kb_isr
mov [es:8*4+2], cs
mov dx, start
add dx, 15
mov cl, 4
shr dx, cl
mov ax, 0x3100
int 0x21

CS401 – Practice Quiz 1

CS401 – Practice Quiz 2