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

+ ! ✨ ░S░I░N░G░E░R liked 2.O's discussion Dying from Curiosity :P :P
3 minutes ago
+ ! ✨ ░S░I░N░G░E░R liked 2.O's discussion Kab Talak Dar Pay Baitay Rahna Hai
4 minutes ago
2.O replied to 2.O's discussion Dying from Curiosity :P :P
4 hours ago
2.O replied to 2.O's discussion Dying from Curiosity :P :P
4 hours ago
2.O posted discussions
4 hours ago
Azam Khan Buzdar replied to + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
5 hours ago
+ ! ✨ ░S░I░N░G░E░R liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion Me, Mom and Drama serial
5 hours ago
+ ! ✨ ░S░I░N░G░E░R liked 彡JK彡 ❤️'s discussion پچھتاوے تو تمہارے لئے ہیں
5 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to 彡JK彡 ❤️'s discussion چھٹی کی درخواست
5 hours ago
+ ! ✨ ░S░I░N░G░E░R liked 彡JK彡 ❤️'s discussion چھٹی کی درخواست
5 hours ago
+ ! ✨ ░S░I░N░G░E░R liked + "Jɨyą's discussion Aksar...!
5 hours ago
+ ! ✨ ░S░I░N░G░E░R liked + "Jɨyą's discussion Saaya...!
5 hours ago
+ ! ✨ ░S░I░N░G░E░R liked + "Jɨyą's discussion Cheekh.....!
5 hours ago
+ ! ✨ ░S░I░N░G░E░R liked zohaib iftikhar's discussion ...* KIA KOI ALLAH PE AHSAN KR SAKTA HAI??? ...*
5 hours ago
+ ! ! ! ! Ⲙehar Roman replied to october's discussion poetry
5 hours ago
+ ! ✨ ░S░I░N░G░E░R liked Zain Kazimi's discussion self poetry
5 hours ago
+ ! ! ! ! Ⲙehar Roman liked october's discussion poetry
5 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to Zain Kazimi's discussion self poetry
5 hours ago
+ ! ! ! ! Ⲙehar Roman liked ++"S.M.TALHA"++'s blog post ابا جی ڈیڈی اور پاپا میں زمین اور آسمان کا فرق ہوتا ہے
6 hours ago
+ ! ! ! ! Ⲙehar Roman liked ++"S.M.TALHA"++'s blog post سر پلیز....
6 hours ago

Today Top Members 

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

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