CS501 Assignment 1 Solution Fall 2017
#1
CS501 Advanced Computer Architecture
Assignment 1 Solution
Fall 2017

QUESTION No. 1
Write the code/instructions to implement the expression A = (B – C) + 15(D - 45) on 3, 2, 1, and 0-address machines

QUESTION NO. 2
Compute the total memory traffic in bytes for both instruction fetch and instruction execution for the code that implements the expression evaluation for the four machines in question # 1. 
Note: 
Assume opcodes occupy one byte, addresses occupy three bytes, and data values also occupy three bytes. Don’t mix it with code size of instruction.


Solution:
Download attached file for the complete solution of CS501 Assignment 1.


Attached Files
.pdf   CS501 Assignment 1 Complete Solution.pdf (Size: 9.43 KB / Downloads: 15)
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  cs507 Assignment 1 Solution Fall 2018 Mishi Khan 0 104 12-10-2018, 10:31 PM
Last Post: Mishi Khan
  CS507 Assignment 1 Fall 2018 Required qasimali13 1 67 12-10-2018, 04:37 PM
Last Post: Pakistani
  CS502 GDB Solution 2017 Pakistani 1 1,990 08-07-2018, 06:31 PM
Last Post: Zaeem Hassan
  CS504 Assignment 1 Solution Fall 2018 Admin 0 1,825 05-05-2018, 11:11 AM
Last Post: Admin
  CS510 Assignment 2 Solution idea Fall 2017 aghaJaan 0 1,472 01-21-2018, 09:55 AM
Last Post: aghaJaan
  CS504 Assignment 1 Solution Fall 2017 Pakistani 0 1,297 11-27-2017, 11:13 PM
Last Post: Pakistani
  CS506 Assignment 2 Solution Fall 2017 Admin 0 1,314 11-23-2017, 10:51 AM
Last Post: Admin
  CS502 Assignment 1 Solution Fall 2017 Pakistani 0 1,306 11-16-2017, 11:53 AM
Last Post: Pakistani
  CS506 Assignment 1 Solution Fall 2017 Pakistani 0 1,363 11-08-2017, 09:41 AM
Last Post: Pakistani
  CS506 Assignment No1 Solved 2017 Rubaisha(Moody Girl) 0 1,470 05-05-2017, 02:11 PM
Last Post: Rubaisha(Moody Girl)



Users browsing this thread:
1 Guest(s)