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

+++LEARNER+++ posted a discussion
22 minutes ago
jan updated their profile
22 minutes ago
Freelancer posted a discussion
31 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked + ! ❤INNOCENT❤'s discussion Akhri Salam Smjh kr
56 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked +++LEARNER+++'s discussion Naseeb
57 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked ♦_"Tooba"_♦'s discussion Khuwahish Se Nahi Girte Phal Jhooli Main...
57 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked ♦_"Tooba"_♦'s discussion Guzri Howi Zindagi Ko Kabhi Yaad Na Kr
57 minutes ago
♦_"Tooba"_♦ posted discussions
1 hour ago
♦_"Tooba"_♦ posted a status
"Every successful person has painful story. Every painful story has a successful ending. Accept the pain and get ready for success."
1 hour ago
++!!! Drama Queen updated their profile
1 hour ago
+++LEARNER+++ replied to ♦_"Tooba"_♦'s discussion Khuwahish Se Nahi Girte Phal Jhooli Main...
1 hour ago
+++LEARNER+++ replied to +++LEARNER+++'s discussion Naseeb
1 hour ago
彡JK彡 ❤️ liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
1 hour ago
彡JK彡 ❤️ liked +++LEARNER+++'s discussion Naseeb
1 hour ago
+ ! ! ! ! ! ! ! Captain+ replied to +++LEARNER+++'s discussion Naseeb
2 hours ago
+++STUDENT+++ replied to +++LEARNER+++'s discussion Naseeb
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
2 hours ago
+AAg❤️ liked +++STUDENT+++'s discussion jumma mubark
2 hours ago

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

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