We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution |
+ 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 Assignment No 01 Fall 2019 Solution & Discussion
CS401 Computer Architecture and Assembly Language Programming Assignment 1 Solution Fall 2019
Please carefully read the following instructions before attempting assignment.
It should be clear that your assignment would not get any credit if:
You should concern the recommended books to clarify your concepts as handouts are not sufficient.
You are supposed to submit your assignment in .doc or docx format.
Any other formats like scan images, PDF, zip, rar, ppt and bmp etc. will not be accepted.
Topic Covered:
No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.
If you people find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard. For any query, feel free to email at cs401@vu.edu.pk
Problem Statement:
Save your complete VUID in memory using Base Register Indirect + Offset addressing mode (if last digit of your VUID is Odd) or Indexed Register Indirect + Offset addressing mode (if last digit of your VUID is even).
Detailed Instructions:
This assignment will give hands on experience of how to run assembly language code using DOSBox and NASM. First, you have to define labels for storing your VUID and then store each alphabet/digit of VUID, step by step, in to any general purpose registers. Finally, store the alphabet/digit from general purpose register to respective memory location (which you have defined by label in above step).
Addressing Modes to use:
In order to access VUID and storing it in memory, you have to use ONE of the following addressing modes:
What to Submit:
After writing your code, open DOSBox and run NASM (as described in video tutorial shared in Announcement page of this course). Assemble the code using nasm command and take screenshot. After that, open the COM file in debugger (AFD).
Run your code by pressing F1 key until last statement of code is reached. At this stage, Data Window # 2 of AFD should display your complete VUID (at consecutive locations; see below example). Also take screenshot of AFD.
Your assignment must be submitted as a SINGLE WORD document (DOC or DOCX) with:
NOTE: When you take screenshot of compilation step and AFD, take screenshot of whole screen, not of DOSBox and AFD. Cropping or any tempering with screenshot will result in ZERO marks.
Example:
Suppose a student VUID is BC123456789. The last digit of this VUID is 9 which is an Odd number. So, this student will use Base Register Indirect + Offset addressing mode to solve this assignment.
Sample screenshot of final output:
Helping Material:
Tags:
+ How to Follow the New Added Discussions at Your Mail Address?
+ 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?.
+ 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)
A.o.A siddiqui bhai cs410 assignment bana dy plz ashan hoga apka id mc170403936 muhammadsalmankhan466@gmail.com iss per send kar dy
siddiqui bhai plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz cs401 assignment bana dy
Yee jo dii hoi h assignment yee wrong khrhy h students.... ...??
correct code ; MY VUID is(bc160200618) ; 11,12,01,06,00,02,00,00,06,01,08 (aphabet) [org 0x0100] data: dw 0 ; mov al,11 ; mov [si+0], ax ; mov al,12 ; mov [si+1], ax; mov al,1 ; mov [si+2], ax; mov al,6 ; mov [si+3], ax; mov al,0 ; mov [si+4], ax; mov ax,2 ; mov [si+5], ax; mov al,0 ; mov [si+6], ax; mov al,0 ; mov [si+7], ax; mov al,6 ; mov [si+8], ax; mov al,1 ; mov [si+9], ax; mov al,8 ; mov [si+10], ax; mov ax,0x4c00 ; int 0x21 ;
ASCII code for m?? else then 77, 109, 4d and 6d
use the ASCII code of "M", that's it. i just discussed with instructor. but don't forget to mention it at the end of your solution.doc file. Good Luck
Sir ye VU ID Mai agr MC190...... ho wo kesy print krty hain BC190...... ki jagaaa...
Plzzz guide me...
© 2019 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
VU Students reserves the right to delete profile, which does not show any Activity at site nor has not activity more than 01 month.
We are user-generated contents site. All product, videos, pictures & others contents on vustudents.ning.com don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com or Contact us at contact Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post