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.3                                                Dated:Jul 24, 18

Dear Students,

Assignment No.3 has been uploaded; its due date is Tuesday, 31-July 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 are according to Pakistan Standard Time (PKT)

Question: 1 [15 Marks]
You are required to write a TSR program that will print total number of characters in your name (including
spaces within complete name) on top left corner of screen once you will press first letter of your name from
keyboard.


Example:
For example let’s say your name is Muhammad Usman Jan, and your VUID is bc123456789


You will write code for TSR such a way that if you will press “m” (first letter of your name in lower case) ,
18 will printed on top left corner of screen .


You will submit code and a screen shot in word file.


Screenshot will contain the command to compile the code, Same screen shot will contain number of
characters printed on screen after pressing first letter of your name.

Note 1: You will use DOSBOX only to compile and execute your code.


Note 2: keep name of assembly file according to your VU id , i.e. if your VU id is BC123456789 , you will
keep name of the assembly code file as 23456789.asm i.e. you will use last 8 digits of your id for the code
file name.


Note 3: If the code or files names in the screen shot will not be according to your own VU id you will get zero
marks.


Note 4: No marks will be given if code will not be both correct & complete in all aspects.


Note 5: You will use your complete name which you have in VU-LMS account.


Note 6: Scan codes are given at the end in Figure 1, on page 3


Note 7: No marks will be given, if above instructions will not be followed exactly

Example Run
Let say your id is BC123456789 , Your Name is Muhammad Usman Jan
Your screen shot will look like this

Note: No need to draw the red circle, this is for student’s understanding only.

+ 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: 10941

.

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

Replies to This Discussion

es assignmnet ko bas DOsbox mn he bnana haii

CS401 -  Assignment#3 - Solution with explanation...

https://www.youtube.com/watch?v=hgaORwi1puw&feature=youtu.be

anyone please discuss about this assignment .... many of the students have no clue how it will be done .. so please everyone discuss it please

[org 0x0100]
mov bl,48 ; 0 mov in bl
k:
mov ah,01 ; to take input
int 21h ; to print
inc bl
cmp al,20h ; compare al with input char 20h for space
je b
loop k
b:
mov dl,bl
mov ah,02 ; print value contain dl
int 21h
ret

this is not working brother, after the execution of .com file in dosbox there is nothing happeing. not even "M:\\" ....

top pr number nhi a rha left side pr koi guide ker de kya masla hai

Attachments:

muj se to itna bhi nei ho raha 

CS401 -  Assignment#3 - Solution with explanation...

https://www.youtube.com/watch?v=hgaORwi1puw&feature=youtu.be

To write your name and than press space button to print your name and no of characters on screen
To write your name and than press space button to print your name and no of characters on screen

no of char are 9 including space

this is incorrect. the number should be displayed at the top left corner

RSS

Latest Activity

+ M.Tariq Malik left a comment for Mughal G
1 minute ago
+++LEARNER+++ replied to + Adeeena's discussion usay pasand hai
17 minutes ago
+ Iuuoɔǝut+ replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
18 minutes ago
+"Khwab Zaadi"+ replied to +¢αяєℓєѕѕ gιяℓ's discussion Mujhe Bachpan Sey He xD
23 minutes ago
+ M.Tariq Malik replied to + Adeeena's discussion usay pasand hai
24 minutes ago
+"Khwab Zaadi"+ liked +¢αяєℓєѕѕ gιяℓ's discussion Mujhe Bachpan Sey He xD
24 minutes ago
+ M.Tariq Malik liked + Adeeena's discussion usay pasand hai
24 minutes ago
+"Khwab Zaadi"+ liked + Adeeena's discussion usay pasand hai
27 minutes ago
+ Adeeena posted a discussion
28 minutes ago
+ M.Tariq Malik left a comment for zargiya
28 minutes ago
+"Khwab Zaadi"+ liked + "AS"'s discussion Log tou Masla Banaty Hain..
29 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion Me, Mom and Bachy howey paisy
34 minutes ago
+¢αяєℓєѕѕ gιяℓ liked +¢αяєℓєѕѕ gιяℓ's discussion مایوسی کے لمحات میں بھی اپنے رب کا شکر ادا کرتے رہیں
34 minutes ago
+¢αяєℓєѕѕ gιяℓ liked +¢αяєℓєѕѕ gιяℓ's discussion O Shit I am Late xD
34 minutes ago
+¢αяєℓєѕѕ gιяℓ liked +¢αяєℓєѕѕ gιяℓ's discussion Beshak Allah janta Hai tum Nhi Janty Surah Baqarah Ayat No. 216
34 minutes ago
+¢αяєℓєѕѕ gιяℓ liked +¢αяєℓєѕѕ gιяℓ's discussion Jin sey Mohabbat Ho.....
34 minutes ago
+¢αяєℓєѕѕ gιяℓ liked +¢αяєℓєѕѕ gιяℓ's discussion Urdu Waqt kasay bachatie Hai xD
34 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + "AS"'s discussion Log tou Masla Banaty Hain..
34 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + "AS"'s discussion Dil Behlane K liye Log..
34 minutes ago
+¢αяєℓєѕѕ gιяℓ liked Muhammad Umar's discussion Kash K Mari Muhabhat Ku Is Tera Samjh Jahay
34 minutes ago

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

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