Blogger Text

My Aim to Provide you quality contents, Tips & Tricks, Software, Microsoft Office, Graphic Editing (Adobe PhotoShop, After Affects, Illustrator, inDesign) Corel Draw, Corel Video Studio, Cyberlink PowerDirector, Power ActionCinema, Tutorials about Blogging and VU Assignments, Quizes & GDB Solutions and Much More... at regular Basis
                                     ***    Kindly Subscribe our Official YouTube Channel "INFOPALACESS OFFICIAL-Tuts: in this channel we upload Programming (C,C++,C# JAVA, PHP), Web Development, Graphics Editing and Microsoft Office Step by Step Tutorials from bigginer to Advance Level. We also provide free online courses at our YouTube Channel. ***   Graded Assignments/Quizes and GDB will start in Next Week. Solution ideas of All assignments, Quizes and GDB will be available here. If you have any problem regarding this then you can contact us.

CS 501 Assignment No 1 Solution Spring 2018 due date 14-05-2018


CS-501 Assignment No 1 Spring 2018 Solution 



Here is the solution of assignment no 1 of CS-501 "Advance Computer Architecture" . I am sharing a jpg of solved assignment question but if you want to get docx file then click the link given below

For explanation watch the video 




How to Download the File :           Watch video below to see the steps to download file  

Instructions 
Steps 1: Click at link given above
   2:  Enter Captcha Code  
   3:  Wait for 8 Seconds
   4:   Click at Link Generated below             the captcha box
   5:   That's it. You have downloaded

Note: We guarantee you that our site is 100% Malware and virus free so please Please Disabled your Ad-blocker to  Download the file from our site..


      
          
If you still facing any problem then please let me know about your problem regarding downloading file and leave a comment below because your feed back is very important to us to make our website more reliable and useful. 




Explanation of Solution: 


Questions No 01   

Write the SRC Assembly language program to evaluate the Equation with appropriate directives.
 Z= 16(a-18)+25(b+c)

Answer:
.ORG 200                         ; Start the next line at address 200
a:           .DW  1                              ; reserve one word for the label a in the memory
b:           .DW  1                              ; reserve a word for b, this will be at address 204
c:           .DW  1                              ; reserve a word for c, this will be at address 208
x:           .DW  1                              ; reserve a one word for the final result 212
              .ORG 400                         ; start the program code at address 400
ld           R1, b                                 ; b is a label used for memory location
ld           R2, c                                 ; c is a label used for memory location
addi       R3, R1, R2                       ; now R3 register contain (b+c)
mul        R4, R3, 5                         ; R4 contain 25(b+c)
ld           R5, a                                ; a is a label used for memory location
sub         R6, R5, 18                      ; R6 register contains this expression (a-18)
mul        R7, R6, 4                        ; R7 register contains this expression 16(a-18)
addi       R8, R7, R4                     ;  R8 register contains final expression 16(a-18) + 25(b+c)

st           R8, x                              ; Now store the final result in memory location at (X)


Questions No 02 

Identify the addressing modes of the following:
1.      R4
2.   Jump 8
3.   M[R5]+d
4.   M[R[6]+50]
5.   M[R2]
6.   lda [23]

Which of the above given addressing modes are supported by FALCON-A and FALCON-E   processors?

Note: If you need Microsoft Word File then please visit the link given above.



Please get in touch with us for solution of other assignments keep visiting www.infopalaces.blogspot.com  

Post a Comment

1 Comments