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.

Views: 517

Replies to This Discussion

Download Attached Codding File

Attachments:

Checked but that doesn't show digit 18 or any other digit?

Solution

Attachments:

RSS

Discussion Forum

CS401 GDB solution

Started by Muhammad Anwar Tahseen Feb 5. 0 Replies

CS401 ASSIGNMENT 2 SOLUTION

Started by Muhammad Anwar Tahseen Jan 29. 0 Replies

CS401 Current Midterm Papers - Dec, 2018 to Jan 2019

Started by + caмe4ѕтυdιeѕ.
Last reply
by + caмe4ѕтυdιeѕ Jan 2. 2 Replies

CS 401 Assignment Solution Needed

Started by Sayyeda Shah.
Last reply
by imran @ Imran Dec 4, 2018. 1 Reply

CS401 Finalterm Papers from Sep 1st to 13th, 2018

Started by + caмe4ѕтυdιeѕ.
Last reply
by + caмe4ѕтυdιeѕ Nov 6, 2018. 5 Replies

CS401 Assign # 3 Due Date: 31st July, 2018

Started by + caмe4ѕтυdιeѕ.
Last reply
by Cute S@mra Aug 1, 2018. 3 Replies

SPONSORED LINKS

© 2019   Created by Muhammad Anwar Tahseen.   Powered by

Badges  |  Report an Issue  |  Terms of Service