We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Assignment No.2                                                                                    Dated:Jan 12, 18

Dear Students,

Assignment No.2 has been uploaded; its due date is Thursday, 18- January -2018.

Note 1: Assignment will not be accepted via email in any case. Upload your assignment on VU-LMS with in due date.

Note 2: All times on VU-LMS as according to Pakistan Standard Time (PKT)

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 23652

.

+ 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)

Attachments:

Replies to This Discussion

Please share the code

share code plz

share code please

I have completed my assignment, it is working fine but i am not satisfied with me code. Is there anyone to help me with that?

share your code here we can see can correct together

command prompt me id type karty lekin nhi ho rah result nhi aa rah

CS401 Assignment no.2 Solution step to step

https://youtu.be/aLoXQAIGvz0

Share your assignment here i can see code if there is mistake i can do correct it

There is no mistake in code, but the methodology i have used is wrong in my thinking. I have used the code of displaying different functions of left and right shift keys from handsout, I have modified that code for my assignment solution. Is there any other methodology for solving assignment?

you have to use keyboard controller and interrupt chaining to display VU id as you will type it

kia ap is ko bna dy gy 

kbisr:  push ax

          push es
          mov ax, 0xb800

          mov es, ax            ; point es to video memory

          in al, 0x60             ; read a char from keyboard port

nextcmp1:cmp al, 0x32     ; has the M key pressed

          jne nextcmp2         ; no, try next comparison

          mov byte [es:di+2], 'M'    ; yes, print M

          add di,2 jmp exit    ; leave interrupt routine

nextcmp2: cmp al, 0x2E    ; has the C key pressed

                 jne nextcmp3   ; no, try next comparison

                 mov byte [es:di+2], 'C' ; yes, print C

                 add di,2 jmp exit ; leave interrupt routine

nextcmp3: cmp al, 0x02       ; has the 1 pressed

                jne nextcmp4 ; no, try next comparison

                mov byte [es:di+2], '1' ; print 1 add di,2

                jmp exit ; leave interrupt routine

.

.

.

.

.

This is the method i have used to print my id on screen, but i dont think that this methodology is correct.

RSS

Latest Activity

Naser Javed (BBIT-6) replied to + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
26 minutes ago
Naser Javed (BBIT-6) liked + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
28 minutes ago
+++STUDENT+++ commented on + "αяsαℓ " Ќąƶµяɨ •"'s blog post نظر لگنا کیا ہے اور بُری نظر انسان کے جسم پر کیسے اثر انداز ہوتی ہے
39 minutes ago
+++STUDENT+++ liked + "αяsαℓ " Ќąƶµяɨ •"'s blog post نظر لگنا کیا ہے اور بُری نظر انسان کے جسم پر کیسے اثر انداز ہوتی ہے
40 minutes ago
+++STUDENT+++ liked ϝ ι ყ α's discussion *خواتین.........XD XD *
46 minutes ago
彡JK彡 ❤️ replied to ϝ ι ყ α's discussion When You Block $omeone.......XD XD !!
50 minutes ago
+++STUDENT+++ replied to ϝ ι ყ α's discussion What is Microsoft Excel..............???
50 minutes ago
+++STUDENT+++ liked ϝ ι ყ α's discussion What is Microsoft Excel..............???
50 minutes ago
Muhammad Umar replied to ϝ ι ყ α's discussion When You Block $omeone.......XD XD !!
1 hour ago
Muhammad Umar liked 彡JK彡 ❤️'s discussion ............ A public service message...........
1 hour ago
+++STUDENT+++ replied to zohaib iftikhar's discussion ...* IS K BAGAIR MAIN APNI ZINDAGI KA TASAWER B NAHI KR SAKTA ...*
1 hour ago
+++STUDENT+++ liked zohaib iftikhar's discussion ...* IS K BAGAIR MAIN APNI ZINDAGI KA TASAWER B NAHI KR SAKTA ...*
1 hour ago
+++STUDENT+++ liked 彡JK彡 ❤️'s discussion ............ A public service message...........
1 hour ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............ A public service message...........
1 hour ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............ A public service message...........
2 hours ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............ A public service message...........
2 hours ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............ A public service message...........
2 hours ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............ A public service message...........
2 hours ago
+ Iuuoɔǝut+ replied to ϝ ι ყ α's discussion When You Block $omeone.......XD XD !!
2 hours ago
+ Iuuoɔǝut+ replied to ϝ ι ყ α's discussion *خواتین.........XD XD *
2 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service