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

www.vustudents.ning.com

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

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

# CS401 solution to assignment No. 2

Solution for CS401 assignment No. 2 fall 2018.

100% hand-coded and verified by myself.

download code file from this link here: https://dl.orangedox.com/cs401

INSTRUCTIONS:

1. change the file name to the last 8 digit of your roll number. e.g. if your roll number is bc170400041 your file name should be 70400041.asm

2. open the file in notepad

3. edit the 'db msg 'XXXX' line with your msg e.g. if your id is bc123456 and your name is Ali your msg should be 'AAAAAA'. likewise if your name is 'Zain' and your id is bc1234562 then your msg should be 'ZZ' (consult the assignment file for more details)

4. edit the 'mov cx, 4' line by the number of letter in your msg from the 3rd step. for example, if your msg is 'HHH' your line should be 'mov cx, 3' and if your msg is 'AAAA' your line should be 'mov cx,4'. in other words, last digit should match with the total number of letters in your msg.

5. edit the line 'cmp ah, 21h' with the scancode of the first letter of your name. this is the code for pressing Key upon which the code will execute and print your msg on the screen. for example, F = 21h so pressing F will execute the code. find the scancode for your own alphabet from the table below and change it accordingly.

6. create a word file. insert your code and 2 screenshots as sampled below

PS: you will get zero marks if you missed any of the above mentioned steps. the code/screenshots will look different for each and every student due to the polymorphic nature of the assignment.

Scancode Table:

Compilation Screenshot:

output screenshot (for example msg XXXX printed when pressing the "F")

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

.

+ 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

2nd screenshot me

Angry  mc170403936 ye id plz cs401 assignment banay dy

follow the video and make by ur own. video me pura guide kr diya hai mene

plz video dekhen ap. us me mene jis jaga pe changing ka btaya hai bas us jaga me change kren.

aur sath hi apne name k first letter ka scancode use kren. tab hi screen pe kuch print hoga. uske liye mene scancode k table ka link diya hua hai

jis window mae compile kiya usi window k andr rehte huwe compilation hne k bad first screenshot Lina hai. screenshot k bad ap ne usi window mae "cls" command issue krni hai. it's a dos command is se pori screen clear ho Jaye ge. after that, compiled file ka nam likh kr execute krna hai. cursor blink hna shuru kr de ga. us wqt ap ne ko key set ki wo press krni hai. top left par ap ka msg print ho ga. phr enter kr k program exit kr k screenshot lae Lina hai.

Koi code file da do

Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>
Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

Note:-
For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.
For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.
Or visit this link
Click Here For Detail.
&
.•°How to Download past papers from study groups°•.

Please Click on the below link to see…
.... How to Find Your Subject Study Group & Join ....

P.S: Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

# CS401 ASSIGNMENT 2 SOLUTION

type this code in your notepad , compile and execute.

## Latest Activity

Rumz zahra posted discussions
26 minutes ago
34 minutes ago
خنساء replied to خنساء's discussion Khansa
46 minutes ago
Kinza Mubasher replied to خنساء's discussion Khansa
53 minutes ago
خنساء posted a discussion

### Khansa

54 minutes ago
خنساء liked Kinza Mubasher's discussion Khoobsoort aur bakamaal aurt
59 minutes ago
Kinza Mubasher posted a discussion

### Khoobsoort aur bakamaal aurt

59 minutes ago
1 hour ago
Rana Ali liked Ateeqa's discussion Mn nahi chahtii ussy dukh mily
1 hour ago
Rana Ali liked +++A++R+++'s discussion اے بنت حوا
1 hour ago
Rana Ali replied to +++A++R+++'s discussion اے بنت حوا
1 hour ago
Rana Ali replied to +++A++R+++'s discussion اے بنت حوا
1 hour ago

## Today Top Members

1

2

3

### خنساء

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

.