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: 23654

.

+ 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

+ ! ! ! ! ᎠixieᎠuຮt꧂ replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
1 hour ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ replied to + Iuuoɔǝut+'s discussion Farz Karo ....
1 hour ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ commented on + "αяsαℓ " Ќąƶµяɨ •"'s blog post چھوٹا کام
1 hour ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
2 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked + Iuuoɔǝut+'s discussion Har Shaks Naraz hy meri baton sy
2 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked + M.Tariq Malik's discussion کوئی مشکل پڑے تعویذ بنا سکتے - ہو تم مرے نام پہ ہر داو لگا سکتے ہو
2 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked + "AS"'s discussion Jesi Ab hai ..
2 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked + Iuuoɔǝut+'s discussion Farz Karo ....
2 hours ago
szh786 updated their profile
3 hours ago
+ ՏhehαrZααD + replied to + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
5 hours ago
+ Android updated their profile
5 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" and + Iuuoɔǝut+ are now friends
5 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + Iuuoɔǝut+'s discussion Har Shaks Naraz hy meri baton sy
5 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + "αяsαℓ " Ќąƶµяɨ •"'s blog post چھوٹا کام
5 hours ago
+ ! ! ! ! ! ! ! ! ! AG replied to + Iuuoɔǝut+'s discussion Har Shaks Naraz hy meri baton sy
5 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + Iuuoɔǝut+'s discussion Farz Karo ....
5 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + Adeeena's discussion usay pasand hai
5 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + Iuuoɔǝut+'s discussion Investment risk management report Bangladesh
5 hours ago
+ ! ! ! ! ! ! ! ! ! AG replied to + M.Tariq Malik's discussion ایسا بھی میرے دوست فارغ نہیں ہوں - میں بیٹھا ہوں انتظار میں، کب یاد آوں گا
5 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + M.Tariq Malik's discussion ایسا بھی میرے دوست فارغ نہیں ہوں - میں بیٹھا ہوں انتظار میں، کب یاد آوں گا
5 hours ago

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

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